@teams-max/mwsp 2.0.6 → 2.0.7

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/es/cli/build.js CHANGED
@@ -78,7 +78,7 @@ function _build() {
78
78
  });
79
79
  case 32:
80
80
  _context.next = 34;
81
- return exec('rm', ['-rf', './dist/*.map'], {
81
+ return exec('find', ['./dist', '-type', 'f', '-name', '*.map', '-exec', 'rm', '-f', '{}', '+'], {
82
82
  env: env
83
83
  });
84
84
  case 34:
package/lib/cli/build.js CHANGED
@@ -75,9 +75,13 @@ async function build() {
75
75
  env
76
76
  });
77
77
  }
78
- await exec("rm", ["-rf", "./dist/*.map"], {
79
- env
80
- });
78
+ await exec(
79
+ "find",
80
+ ["./dist", "-type", "f", "-name", "*.map", "-exec", "rm", "-f", "{}", "+"],
81
+ {
82
+ env
83
+ }
84
+ );
81
85
  }
82
86
  // Annotate the CommonJS export names for ESM import in node:
83
87
  0 && (module.exports = {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teams-max/mwsp",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "@teams-max/mwsp",
5
5
  "homepage": "https://gitlab.daikuan.qihoo.net/efficacy-fe/teams-max/-/tree/master/packages/mwsp",
6
6
  "repository": {