Files
cloudflare-docker-proxy/webpack.config.js
2022-03-22 02:35:17 +08:00

20 lines
330 B
JavaScript

const path = require("path");
module.exports = {
context: path.resolve(__dirname, "./"),
target: "webworker",
mode: "production",
optimization: {
usedExports: true,
},
module: {
rules: [
{
include: /node_modules/,
test: /\.mjs$/,
type: "javascript/auto",
},
],
},
};