kn-cli 1.0.7 → 1.0.8

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/build/build.sh CHANGED
@@ -1,4 +1,8 @@
1
- export build_env=prod
1
+ if [ ! -n "$build_env" ]
2
+ then
3
+ echo "没有发现build_env,默认设置为prod"
4
+ build_env="prod"
5
+ fi
2
6
  export noSkipNpmInstall=1
3
7
  export mock=0
4
8
  export build_type=build
@@ -5,8 +5,8 @@
5
5
  "scripts": {
6
6
  "dev": "cross-env webpack-dev-server",
7
7
  "start": "cross-env webpack-dev-server -d",
8
- "build": "cross-env webpack -p --progress --colors --mode production",
9
- "build:dev": "cross-env webpack -p --progress --colors --mode production",
8
+ "build": "cross-env webpack -p --colors --mode production",
9
+ "build:dev": "cross-env webpack -p --colors --mode production",
10
10
  "report": "cross-env npm_config_report=true npm run build"
11
11
  },
12
12
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kn-cli",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/readme.md CHANGED
@@ -16,6 +16,10 @@
16
16
 
17
17
 
18
18
  # 更新日志
19
+ * 1.0.8
20
+ 1. 关闭编译过程中--progress参数
21
+ 2. build时如果build_env不存在才强行设置为prod
22
+
19
23
 
20
24
  * 1.0.7
21
25
  1. 解决对antd-mobile的Tabs组件当前tab下划线焦点无法跟随的问题