crabatool 1.0.420 → 1.0.421

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tool/compress.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crabatool",
3
- "version": "1.0.420",
3
+ "version": "1.0.421",
4
4
  "description": "crabatool",
5
5
  "main": "index.js",
6
6
  "bin": {
package/tool/compress.js CHANGED
@@ -97,13 +97,14 @@ function doCompress() {
97
97
  compressCrabaJs(inNames, 'crabaEx.min.js');
98
98
 
99
99
  // 其他独立的大组件
100
+ /*
100
101
  compressCrabaJs(['listView.js'], 'listView.js');
101
102
  compressCrabaJs(['workflow.js'], 'workflow.js');
102
103
  compressCrabaJs(['dress.js'], 'dress.js');
103
104
  compressCrabaJs(['htmlEditor.js'], 'htmlEditor.js');
104
105
  compressCrabaJs(['print.js'], 'print.js');
105
106
  compressCrabaJs(['treeView.js'], 'treeView.js');
106
-
107
+ */
107
108
 
108
109
  // echarts
109
110
  inNames = ['echarts4-all.js'];
@@ -190,7 +191,7 @@ function compressCss(inNames, targetCss) {
190
191
  inPath: inNames,
191
192
  outPath: targetCss,
192
193
  ext: '.css',
193
- hidejspath: config.hidejspath,
194
+ hidejspath: true, // css打包的时候默认不显示文件路径,要导致css被注释掉
194
195
  ignoreCompress: config.ignoreCompress
195
196
  });
196
197
  }