feat: webpack pre

This commit is contained in:
xiaojunnuo
2021-01-03 21:50:14 +08:00
parent 4cd7b02cb7
commit 986fd4b010
5 changed files with 620 additions and 2375 deletions
+9
View File
@@ -0,0 +1,9 @@
const path = require('path')
module.exports = {
entry: './src/index.js',
output: {
filename: 'main.js',
path: path.resolve(__dirname, 'dist')
}
}