@aiot-toolkit/shared-utils 1.1.3 → 1.1.4
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/compilation-config.js +15 -2
- package/package.json +2 -2
package/compilation-config.js
CHANGED
|
@@ -94,7 +94,10 @@ const compileOptionsObject = {
|
|
|
94
94
|
enablePerformanceCheck: false,
|
|
95
95
|
// 调试时是否启用server的watch模式
|
|
96
96
|
enableServerWatch: false,
|
|
97
|
-
|
|
97
|
+
/**
|
|
98
|
+
* 是否处理.9图
|
|
99
|
+
*/
|
|
100
|
+
|
|
98
101
|
trimDotnine: true,
|
|
99
102
|
// 自定义包名 默认为带版本号的包名
|
|
100
103
|
buildNameFormat: compileOptionsMeta.buildNameFormat.DEFAULT,
|
|
@@ -126,7 +129,17 @@ const compileOptionsObject = {
|
|
|
126
129
|
/**
|
|
127
130
|
* 是否使用protobuf打包二进制文件
|
|
128
131
|
*/
|
|
129
|
-
enableProtobuf: false
|
|
132
|
+
enableProtobuf: false,
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* 是否把图片转换为 bin
|
|
136
|
+
*/
|
|
137
|
+
enableImageBin: false,
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* 是否把图片转换为 png8
|
|
141
|
+
*/
|
|
142
|
+
enableImagePng8: false
|
|
130
143
|
}
|
|
131
144
|
|
|
132
145
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiot-toolkit/shared-utils",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "aiot shared utils",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=8.0.0"
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"strip-ansi": "^5.2.0"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "9a1cb892be9795674483e610cc51c2b904b35041"
|
|
35
35
|
}
|