first commit
This commit is contained in:
12
webpack.test.config.js
Normal file
12
webpack.test.config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const path = require("path");
|
||||
|
||||
module.exports = {
|
||||
mode: "development",
|
||||
watch: true,
|
||||
watchOptions: {
|
||||
poll: 1000, // 每秒询问多少次
|
||||
aggregateTimeout: 200, //防抖 多少毫秒后再次触发
|
||||
},
|
||||
entry: path.resolve(__dirname, "Pandora.js"),
|
||||
output: { filename: "Pandora.min.js" },
|
||||
};
|
Reference in New Issue
Block a user