This commit is contained in:
asd
2019-12-01 19:07:58 +08:00
parent ddea90fec5
commit 4cf6b0e37d

View File

@@ -66,3 +66,16 @@ webpack.config.js 内容:
```
const path = require('path');
module.exports = {
// 入口js路径
entry: './src/index.js',
// 编译输出的js及路径
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist')
}
};
```