crabatool 1.0.829 → 1.0.831

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 +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crabatool",
3
- "version": "1.0.829",
3
+ "version": "1.0.831",
4
4
  "description": "crabatool",
5
5
  "main": "index.js",
6
6
  "bin": {
package/tool/compress.js CHANGED
@@ -314,6 +314,7 @@ function compressGspx(filePath) {
314
314
  if (!fs.existsSync(filePath)) {
315
315
  return '';
316
316
  }
317
+ console.log('compress页面gspx:' + filePath);
317
318
  const xmlMinifier = require('xml-minifier');
318
319
  let xml = fs.readFileSync(filePath, 'utf8');
319
320
  xml = removeXMLComments(xml); // 手动替换注释,xml-minifier的removeComments没有生效的