ms-vite-plugin 0.1.3 → 0.1.5

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/dist/build.js +4 -1
  2. package/package.json +3 -3
package/dist/build.js CHANGED
@@ -110,15 +110,18 @@ const buildAll = async (isDev = true, workspacePath) => {
110
110
  sourcemap: isDev,
111
111
  minify: !isDev, // 开发环境不压缩变量名
112
112
  },
113
+ esbuild: {
114
+ keepNames: true,
115
+ },
113
116
  plugins: isDev
114
117
  ? [returnMain()]
115
118
  : [
119
+ returnMain(),
116
120
  (0, vite_plugin_bundle_obfuscator_1.default)({
117
121
  autoExcludeNodeModules: true,
118
122
  threadPool: true,
119
123
  options: obfuscatorConfig,
120
124
  }),
121
- returnMain(),
122
125
  ],
123
126
  });
124
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-vite-plugin",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "type": "commonjs",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -21,13 +21,13 @@
21
21
  "dependencies": {
22
22
  "commander": "^14.0.2",
23
23
  "fs-extra": "^11.3.2",
24
- "vite": "^7.1.12",
24
+ "vite": "^7.2.2",
25
25
  "vite-plugin-bundle-obfuscator": "^1.8.0",
26
26
  "zip-a-folder": "^3.1.9"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/fs-extra": "^11.0.4",
30
- "@types/node": "^24.9.1",
30
+ "@types/node": "^24.10.0",
31
31
  "typescript": "~5.9.3"
32
32
  }
33
33
  }