This commit is contained in:
asd
2019-12-01 19:00:28 +08:00
parent bcec8b57ec
commit 214370f7f6

View File

@@ -38,18 +38,4 @@ linux 系统 运行 yarn global bin 查看 yarn 的全局目录,然后 #expor
/src
index.js 要压缩的js文件
package.json 应用的默认配置
webpack.config.js
>内容:
```
const path = require('path');
module.exports = {
// 入口js路径
entry: './src/index.js',
// 编译输出的js及路径
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist')
}
};
webpack.config.js