hw-weapp-compiler 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -16,14 +16,14 @@ npm i weapp-compiler@2.x -D
|
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
18
|
# 开发调试
|
|
19
|
-
npm run dev
|
|
20
|
-
npm run dev
|
|
21
|
-
npm run dev
|
|
19
|
+
npm run dev # 测试环境
|
|
20
|
+
npm run dev -s # 预发环境
|
|
21
|
+
npm run dev -p # 生产环境
|
|
22
22
|
|
|
23
23
|
# 生产发布
|
|
24
|
-
npm run build
|
|
25
|
-
npm run build
|
|
26
|
-
npm run build
|
|
24
|
+
npm run build -d # 测试环境
|
|
25
|
+
npm run build -s # 预发环境
|
|
26
|
+
npm run build # 生产环境
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
## 配置
|
package/build/webpack.config.js
CHANGED