Initial commit
This commit is contained in:
20
webpack.config.js
Normal file
20
webpack.config.js
Normal file
@@ -0,0 +1,20 @@
|
||||
const path = require("path");
|
||||
const { experiments } = require("webpack");
|
||||
const { library } = require("webpack");
|
||||
const webpack = require("webpack");
|
||||
|
||||
module.exports = {
|
||||
entry: "./index.js",
|
||||
output: {
|
||||
filename: "bundle.js",
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
},
|
||||
plugins: [
|
||||
new webpack.IgnorePlugin({
|
||||
checkResource(resource) {
|
||||
return /.*\/wordlists\/(?!english).*\.json/.test(resource);
|
||||
},
|
||||
}),
|
||||
],
|
||||
mode: "production",
|
||||
};
|
||||
Reference in New Issue
Block a user