ms-vite-plugin 0.3.3 → 0.3.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.
Files changed (2) hide show
  1. package/dist/build.js +1 -1
  2. package/package.json +1 -1
package/dist/build.js CHANGED
@@ -278,7 +278,7 @@ const buildAll = async (isDev = true, workspacePath) => {
278
278
  };
279
279
  await walk(scriptsDir);
280
280
  // Prometheus CLI 路径(本插件 node_modules 内)
281
- const cliPath = path.resolve(__dirname, "../node_modules/@gamely/prometheus-cli/bin/cli.js");
281
+ const cliPath = path.resolve(process.cwd(), "node_modules/@gamely/prometheus-cli/bin/cli.js");
282
282
  for (const file of luaFiles) {
283
283
  const rel = path.relative(scriptsDir, file);
284
284
  console.log(`🛠️ 混淆 Lua: ${rel}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-vite-plugin",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "type": "commonjs",
5
5
  "license": "MIT",
6
6
  "publishConfig": {