update
This commit is contained in:
@@ -38,24 +38,9 @@ linux 系统 运行 yarn global bin 查看 yarn 的全局目录,然后 #expor
|
|||||||
/src
|
/src
|
||||||
index.js 要压缩的js文件
|
index.js 要压缩的js文件
|
||||||
package.json 应用的默认配置
|
package.json 应用的默认配置
|
||||||
>内容:
|
|
||||||
```
|
|
||||||
{
|
|
||||||
"name": "ceshi",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"description": "wu",
|
|
||||||
"main": "index.js",
|
|
||||||
"scripts": {
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
|
||||||
"build": "webpack --mode production",
|
|
||||||
"dev": "webpack --mode development"
|
|
||||||
},
|
|
||||||
"author": "aaa",
|
|
||||||
"license": "3000",
|
|
||||||
"private": false
|
|
||||||
}
|
|
||||||
|
|
||||||
webpack.config.js
|
webpack.config.js
|
||||||
|
|
||||||
>内容:
|
>内容:
|
||||||
```
|
```
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|||||||
Reference in New Issue
Block a user