@vizejs/vite-plugin 0.602.0 → 0.604.0

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/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as vize } from "./plugin-DMyr_onl.mjs";
1
+ import { t as vize } from "./plugin-3K6UQTA3.mjs";
2
2
  import { u as rewriteStaticAssetUrls } from "./vue-version-BFh0eI6J.mjs";
3
3
  import { a as resolveViteConfigExport, i as resolveConfigExport, n as defineConfig, o as vizeConfigStore, r as loadConfig, t as VIZE_CONFIG_FILE_ENV } from "./config-DfZzBt1h.mjs";
4
4
  //#region src/index.ts
@@ -0,0 +1,2 @@
1
+ import { t as vize } from "./plugin-3K6UQTA3.mjs";
2
+ export { vize };
@@ -1221,7 +1221,7 @@ function compileFile(filePath, cache, options, source, diagnostics) {
1221
1221
  scriptHash: result.scriptHash,
1222
1222
  macroArtifacts: result.macroArtifacts ?? [],
1223
1223
  styles: normalizeStyleBlocks(result.styles),
1224
- dependencies: resolved.dependencies
1224
+ dependencies: [...resolved.dependencies, ...result.dependencies ?? []]
1225
1225
  };
1226
1226
  cache.set(filePath, compiled);
1227
1227
  return compiled;
@@ -1305,7 +1305,7 @@ function compileBatch(files, cache, options) {
1305
1305
  scriptHash: fileResult.scriptHash,
1306
1306
  macroArtifacts: fileResult.macroArtifacts ?? [],
1307
1307
  styles: normalizeStyleBlocks(fileResult.styles),
1308
- dependencies: dependenciesByPath.get(fileResult.path) ?? []
1308
+ dependencies: [...dependenciesByPath.get(fileResult.path) ?? [], ...fileResult.dependencies ?? []]
1309
1309
  });
1310
1310
  if (fileResult.errors.length > 0) console.error(formatCompileErrorMessage(fileResult.path, fileResult.errors));
1311
1311
  if (fileResult.warnings.length > 0) fileResult.warnings.forEach((warning) => {
@@ -400,7 +400,7 @@ function defineConfig(config = {}, integration = {}) {
400
400
  const legacy = compiler !== false && (await import("./vue-version-DOjZaMiI.mjs")).isLegacyVueCompatibilityMode(compiler);
401
401
  const plugins = compiler === false || legacy ? [...vp.plugins ?? []] : await withoutVueCompiler(vp.plugins ?? []);
402
402
  if (compiler !== false) {
403
- const { vize } = await import("./plugin-DK811pWD.mjs");
403
+ const { vize } = await import("./plugin-0Sja_ri8.mjs");
404
404
  plugins.push(vize({
405
405
  ...plugin,
406
406
  configMode: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/vite-plugin",
3
- "version": "0.602.0",
3
+ "version": "0.604.0",
4
4
  "description": "High-performance native Vite plugin for Vue SFC compilation powered by Vize",
5
5
  "keywords": [
6
6
  "compiler",
@@ -51,13 +51,13 @@
51
51
  "access": "public"
52
52
  },
53
53
  "dependencies": {
54
- "@vizejs/native": "0.602.0",
55
- "@vizejs/unplugin": "0.602.0",
54
+ "@vizejs/native": "0.604.0",
55
+ "@vizejs/unplugin": "0.604.0",
56
56
  "jsonc-parser": "^3.3.1",
57
57
  "oxc-parser": "0.144.0",
58
58
  "picomatch": "4.0.5",
59
59
  "tinyglobby": "0.2.17",
60
- "vize": "0.602.0"
60
+ "vize": "0.604.0"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@types/node": "25.9.2",
@@ -1,2 +0,0 @@
1
- import { t as vize } from "./plugin-DMyr_onl.mjs";
2
- export { vize };