@vizejs/vite-plugin 0.426.2 → 0.426.3

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.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as VizeInspectorLintPlanProvider, c as VizeCompatibilityOptions, d as LoadConfigOptions, f as ResolvedVizeConfig, i as VizeVueFeatures, l as VizeVueVersion, m as UserConfigExport, n as CompiledModule, o as VizeInspectorLintPlanRequest, r as MacroArtifact, s as VizeInspectorOptions, t as VizeOptions, u as ConfigEnv, y as VizeConfig } from "./types-CtulgM97.mjs";
1
+ import { a as VizeInspectorLintPlanProvider, c as VizeCompatibilityOptions, d as LoadConfigOptions, f as ResolvedVizeConfig, i as VizeVueFeatures, l as VizeVueVersion, m as UserConfigExport, n as CompiledModule, o as VizeInspectorLintPlanRequest, r as MacroArtifact, s as VizeInspectorOptions, t as VizeOptions, u as ConfigEnv, y as VizeConfig } from "./types-Duz3ywkM.mjs";
2
2
  import { Plugin } from "vite";
3
3
 
4
4
  //#region src/virtual.d.ts
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as rewriteStaticAssetUrls, t as vize } from "./plugin-BSxbzkGl.mjs";
1
+ import { n as rewriteStaticAssetUrls, t as vize } from "./plugin-CSd18fx0.mjs";
2
2
  import { a as vizeConfigStore, i as resolveConfigExport, n as defineConfig, r as loadConfig, t as VIZE_CONFIG_FILE_ENV } from "./config-PP6EAmWc.mjs";
3
3
  //#region src/index.ts
4
4
  const __internal = { rewriteStaticAssetUrls };
@@ -1,4 +1,4 @@
1
- import { f as ResolvedVizeConfig } from "../types-CtulgM97.mjs";
1
+ import { f as ResolvedVizeConfig } from "../types-Duz3ywkM.mjs";
2
2
  import { ResolvedConfig } from "vite";
3
3
 
4
4
  //#region src/internal/config-bridge.d.ts
@@ -1,4 +1,4 @@
1
- import { n as runTask } from "../runner-DvShtC55.mjs";
1
+ import { n as runTask } from "../runner-8x__0QxE.mjs";
2
2
  //#region src/internal/vite-plus-task.ts
3
3
  try {
4
4
  process.exitCode = await runTask(process.argv.slice(2));
@@ -471,11 +471,10 @@ function supportsTemplateOnlyHmr(output) {
471
471
  /**
472
472
  * Prepend a runtime `<style>` injection for plain CSS to a module's output.
473
473
  *
474
- * This is the same inline-CSS path plain SFC `<style>` blocks use in
475
- * {@link generateOutput}: a guarded `document.createElement('style')` keyed by a
476
- * stable id so the rule is injected once and idempotently. `styleKey` seeds the
477
- * element id. Used for both SFC plain CSS and JSX `<style scoped>` CSS (#1495,
478
- * #1533), whose content is already scope-rewritten by the compiler.
474
+ * A guarded `document.createElement('style')` keyed by a stable id makes the
475
+ * fallback injection idempotent. `styleKey` seeds the element id. SFCs with
476
+ * block metadata use Vite style imports; this remains for metadata-free SFCs
477
+ * and JSX `<style scoped>` CSS (#1495, #1533).
479
478
  */
480
479
  function prependInlineStyleInjection(output, css, styleKey) {
481
480
  return `
@@ -508,13 +507,13 @@ function generateScopeId(filename) {
508
507
  /**
509
508
  * Whether the SFC's `<style>` blocks are handed to Vite as virtual imports.
510
509
  *
511
- * Some blocks require Vite's CSS pipeline (preprocessor or CSS Modules), and a
512
- * production client build routes plain CSS through it too so nesting,
513
- * minification, and chunk ownership still apply. In both cases the blocks are
514
- * emitted as imports and `compiled.css` is not used.
510
+ * Every client-side SFC style block goes through Vite's CSS pipeline. This is
511
+ * also necessary during development and tests: the user's CSS transformer and
512
+ * targets must run before the stylesheet reaches the browser or jsdom.
513
+ * `compiled.css` remains a fallback for callers without block metadata.
515
514
  */
516
515
  function usesStyleImports(compiled, options) {
517
- return !!options.filePath && !!compiled.styles?.length && (options.customElement || hasDelegatedStyles(compiled) || !options.ssr && options.isProduction && !!options.extractCss);
516
+ return !!options.filePath && !!compiled.styles?.length && (options.customElement || hasDelegatedStyles(compiled) || !options.ssr);
518
517
  }
519
518
  /**
520
519
  * Whether `generateOutput` will embed `compiled.css` in the module.
@@ -752,6 +751,8 @@ function booleanCompilerOption(value) {
752
751
  function resolvePluginVueCompileOptions(options) {
753
752
  const compilerOptions = options.template?.compilerOptions;
754
753
  const resolved = { styleTrim: options.style?.trim ?? true };
754
+ const whitespace = compilerOptions?.whitespace ?? options.whitespace;
755
+ if (whitespace !== void 0) resolved.whitespace = whitespace;
755
756
  const templateCacheHandlers = booleanCompilerOption(compilerOptions?.cacheHandlers);
756
757
  const templateComments = booleanCompilerOption(compilerOptions?.comments);
757
758
  const templateHoistStatic = booleanCompilerOption(compilerOptions?.hoistStatic);
@@ -967,6 +968,7 @@ function buildCompileFileOptions(filePath, options) {
967
968
  sourceMap: options.sourceMap,
968
969
  ssr: options.ssr,
969
970
  vapor: options.vapor,
971
+ ...options.whitespace === void 0 ? {} : { whitespace: options.whitespace },
970
972
  customRenderer: options.customRenderer ?? false,
971
973
  ...options.customElements === void 0 ? {} : { customElements: options.customElements },
972
974
  experimentalInTagComments: options.experimentalInTagComments ?? false,
@@ -991,6 +993,7 @@ function buildCompileBatchOptions(options) {
991
993
  return {
992
994
  ssr: options.ssr,
993
995
  vapor: options.vapor,
996
+ ...options.whitespace === void 0 ? {} : { whitespace: options.whitespace },
994
997
  customRenderer: options.customRenderer ?? false,
995
998
  ...options.customElements === void 0 ? {} : { customElements: options.customElements },
996
999
  experimentalInTagComments: options.experimentalInTagComments ?? false,
@@ -1681,6 +1684,7 @@ function resolvePrecompileBatchOptions(state) {
1681
1684
  runtimeModuleName: state.mergedOptions.runtimeModuleName,
1682
1685
  runtimeGlobalName: state.mergedOptions.runtimeGlobalName,
1683
1686
  vueVersion: state.mergedOptions.vueVersion,
1687
+ whitespace: requestOptions.whitespace,
1684
1688
  styleTrim: requestOptions.styleTrim,
1685
1689
  templateCacheHandlers: requestOptions.templateCacheHandlers,
1686
1690
  templateComments: requestOptions.templateComments,
@@ -1979,7 +1983,7 @@ async function resolveRelativeVueSfcImport(ctx, state, id, cleanImporter, isSsrR
1979
1983
  const resolvedPath = resolvedRequest.normalizedFsId ?? resolvedRequest.normalizedVuePath;
1980
1984
  if (!resolvedPath || !resolvedPath.endsWith(".vue")) return resolved;
1981
1985
  const effectiveQuery = resolvedRequest.querySuffix || querySuffix;
1982
- return isDependencyScan ? toVirtualId(resolvedPath, isSsrRequest) : toPluginVisibleVirtualId(resolvedPath, isSsrRequest, effectiveQuery);
1986
+ return isDependencyScan ? resolvedPath : toPluginVisibleVirtualId(resolvedPath, isSsrRequest, effectiveQuery);
1983
1987
  }
1984
1988
  //#endregion
1985
1989
  //#region src/plugin/resolve.ts
@@ -2352,7 +2356,7 @@ async function resolveAliasedVueImport(ctx, state, id, importer, isSsrRequest, h
2352
2356
  }
2353
2357
  if (state.cache.has(realPath) || fs.existsSync(realPath)) {
2354
2358
  state.logger.log(`resolveId: resolved via Vite fallback ${id} to ${realPath}`);
2355
- return preserveQueryAsPath ? `${realPath}${querySuffix}` : isDependencyScan ? toVirtualId(realPath, isSsrRequest) : toPluginVisibleVirtualId(realPath, isSsrRequest, querySuffix);
2359
+ return preserveQueryAsPath ? `${realPath}${querySuffix}` : isDependencyScan ? realPath : toPluginVisibleVirtualId(realPath, isSsrRequest, querySuffix);
2356
2360
  }
2357
2361
  return null;
2358
2362
  }
@@ -2367,12 +2371,13 @@ async function resolveIdHook(ctx, state, id, importer, options) {
2367
2371
  const projectVueRuntime = await resolveProjectVueRuntime(ctx, state, id, importer, isSsrRequest);
2368
2372
  if (projectVueRuntime) return projectVueRuntime;
2369
2373
  if (pluginVisibleVirtualPath) {
2370
- if (isDependencyScan) return toVirtualId(pluginVisibleVirtualPath, isSsrRequest);
2374
+ if (isDependencyScan) return pluginVisibleVirtualPath;
2371
2375
  return isSsrRequest ? toPluginVisibleVirtualId(pluginVisibleVirtualPath, true, request.querySuffix) : id;
2372
2376
  }
2373
2377
  if (id.startsWith("\0")) {
2374
2378
  if (request.isVizeVirtual) {
2375
- if (isSsrRequest && !request.isVizeSsrVirtual && request.vizeVirtualPath) return isDependencyScan ? toVirtualId(request.vizeVirtualPath, true) : toPluginVisibleVirtualId(request.vizeVirtualPath, true, request.querySuffix);
2379
+ if (isSsrRequest && !request.isVizeSsrVirtual && request.vizeVirtualPath) return isDependencyScan ? request.vizeVirtualPath : toPluginVisibleVirtualId(request.vizeVirtualPath, true, request.querySuffix);
2380
+ if (isDependencyScan && request.vizeVirtualPath) return request.vizeVirtualPath;
2376
2381
  return id;
2377
2382
  }
2378
2383
  if (id.startsWith("\0vize:")) {
@@ -2623,7 +2628,7 @@ async function resolveIdHook(ctx, state, id, importer, options) {
2623
2628
  state.logger.log(`resolveId: id=${id}, resolved=${resolved}, hasCache=${hasCache}, fileExists=${fileExists}, importer=${importer ?? "none"}`);
2624
2629
  if (hasCache || fileExists) {
2625
2630
  if (preserveQueryAsPath) return `${resolved}${request.querySuffix}`;
2626
- return isDependencyScan ? toVirtualId(resolved, isSsrRequest) : toPluginVisibleVirtualId(resolved, isSsrRequest, request.querySuffix);
2631
+ return isDependencyScan ? resolved : toPluginVisibleVirtualId(resolved, isSsrRequest, request.querySuffix);
2627
2632
  }
2628
2633
  }
2629
2634
  return null;
@@ -2956,7 +2961,7 @@ function loadHook(state, id, loadOptions) {
2956
2961
  const blockIndex = styleRequest.styleIndex ?? -1;
2957
2962
  if (fallbackCompiled?.styles && blockIndex >= 0 && blockIndex < fallbackCompiled.styles.length) {
2958
2963
  const block = fallbackCompiled.styles[blockIndex];
2959
- let styleContent = block.content;
2964
+ let styleContent = state.mergedOptions.style?.trim === false ? block.content : block.content.trim();
2960
2965
  if (scoped && block.scoped && (!lang || lang === "css")) styleContent = scopeCssForPipeline(styleContent, scoped);
2961
2966
  styleContent = transformCssVarsForPipeline(styleContent, fallbackCompiled.scopeId);
2962
2967
  return {
@@ -3195,7 +3200,6 @@ async function handleHotUpdateHook(state, ctx, options = {}) {
3195
3200
  const updateType = detectHmrUpdateType(prevCompiled, newCompiled);
3196
3201
  state.logger.log(`Re-compiled: ${path.relative(state.root, file)} (${updateType})`);
3197
3202
  const modules = preferAcceptingClientModules(initialModules ?? await collectModulesByFile(server, getVueModuleFileCandidates(file)), options.requireAcceptingClientModule);
3198
- const hasDelegated = hasDelegatedStyles(newCompiled);
3199
3203
  if (isPluginVueCustomElement(state.mergedOptions, file) && updateType === "style-only") {
3200
3204
  if (modules.size > 0) {
3201
3205
  state.pendingHmrUpdateTypes.set(file, "full-reload");
@@ -3205,7 +3209,7 @@ async function handleHotUpdateHook(state, ctx, options = {}) {
3205
3209
  state.pendingHmrUpdateTypes.delete(file);
3206
3210
  return [];
3207
3211
  }
3208
- if (hasDelegated && updateType === "style-only") {
3212
+ if (newCompiled.styles?.length && updateType === "style-only") {
3209
3213
  const affectedModules = /* @__PURE__ */ new Set();
3210
3214
  for (const block of newCompiled.styles ?? []) {
3211
3215
  const params = new URLSearchParams();
@@ -3222,7 +3226,7 @@ async function handleHotUpdateHook(state, ctx, options = {}) {
3222
3226
  if (modules.size > 0) return [...modules];
3223
3227
  return [];
3224
3228
  }
3225
- if (updateType === "style-only" && newCompiled.css && !hasDelegated) {
3229
+ if (updateType === "style-only" && newCompiled.css && !hasDelegatedStyles(newCompiled)) {
3226
3230
  state.pendingHmrUpdateTypes.delete(file);
3227
3231
  server.ws.send({
3228
3232
  type: "custom",
@@ -4010,6 +4014,7 @@ function vize(options = {}) {
4010
4014
  customRenderer: options.customRenderer ?? compilerConfig.customRenderer ?? false,
4011
4015
  customElements: options.customElements ?? compilerConfig.customElements,
4012
4016
  templateSyntax,
4017
+ whitespace: options.whitespace ?? compilerConfig.whitespace,
4013
4018
  compatibility,
4014
4019
  vueVersion,
4015
4020
  mode,
@@ -0,0 +1,2 @@
1
+ import { t as vize } from "./plugin-CSd18fx0.mjs";
2
+ export { vize };
@@ -100,7 +100,8 @@ async function runTools(task, args, metadata, vp, native, execute) {
100
100
  ignore: [
101
101
  "**/node_modules/**",
102
102
  "**/.git/**",
103
- "**/.vize/**"
103
+ "**/.vize/**",
104
+ ...metadata.fmtIgnorePatterns ?? []
104
105
  ]
105
106
  })).filter((file) => file.endsWith(".vue"));
106
107
  if (vue.length) await vize("fmt", [formatCheck ? "--check" : "--write", ...vue]);
@@ -187,11 +188,13 @@ async function runNative(command, argv, metadata, native = nativeBinary(), spawn
187
188
  flag: "wx",
188
189
  mode: 384
189
190
  });
191
+ const lintOptions = command === "lint" ? [...metadata.lintLocale ? ["--locale", metadata.lintLocale] : [], ...metadata.lintHelpLevel ? ["--help-level", metadata.lintHelpLevel] : []] : [];
190
192
  return await spawn(process.execPath, [
191
193
  native,
192
194
  command,
193
195
  "--config",
194
196
  file,
197
+ ...lintOptions,
195
198
  ...argv
196
199
  ]);
197
200
  } finally {
@@ -86,6 +86,10 @@ interface CompilerConfig {
86
86
  * Template syntax compatibility mode
87
87
  */
88
88
  templateSyntax?: "standard" | "strict" | "quirks";
89
+ /**
90
+ * Vue template whitespace strategy or opt-in Vue 2 line-break migration mode
91
+ */
92
+ whitespace?: "condense" | "preserve" | "vue2-line-breaks";
89
93
  /**
90
94
  * Enable source map generation
91
95
  */
@@ -876,6 +880,7 @@ interface VitePluginVueScriptOptions {
876
880
  [key: string]: unknown;
877
881
  }
878
882
  interface VitePluginVueTemplateCompilerOptions {
883
+ whitespace?: "condense" | "preserve";
879
884
  comments?: boolean;
880
885
  hoistStatic?: boolean;
881
886
  cacheHandlers?: boolean;
@@ -1114,6 +1119,8 @@ interface VizeOptions extends ExperimentalPluginOptions {
1114
1119
  * @default "standard"
1115
1120
  */
1116
1121
  templateSyntax?: "standard" | "strict" | "quirks";
1122
+ /** Vue whitespace strategy, or Vize's narrow Vue 2 line-break migration mode. @default "condense" */
1123
+ whitespace?: "condense" | "preserve" | "vue2-line-breaks";
1117
1124
  /**
1118
1125
  * Root directory to scan for .vue files
1119
1126
  * @default Vite's root
@@ -1,4 +1,4 @@
1
- import { _ as LinterConfig, g as FormatterConfig, h as CompilerConfig, m as UserConfigExport, p as UserConfig$1, t as VizeOptions, v as TypeCheckerConfig } from "./types-CtulgM97.mjs";
1
+ import { _ as LinterConfig, g as FormatterConfig, h as CompilerConfig, m as UserConfigExport, p as UserConfig$1, t as VizeOptions, v as TypeCheckerConfig } from "./types-Duz3ywkM.mjs";
2
2
  import { ConfigEnv, UserConfig, defineConfig as defineConfig$1 } from "vite-plus";
3
3
 
4
4
  //#region src/vite-plus/types.d.ts
@@ -8,6 +8,10 @@ type VizeCompilerOptions = Omit<CompilerConfig, "compatibility"> & Omit<VizeOpti
8
8
  interface VizeLintOptions extends LinterConfig {
9
9
  /** Also run the native typechecker before linting. @default false */
10
10
  typecheck?: boolean;
11
+ /** Language of native lint diagnostics. @default "en" */
12
+ locale?: "en" | "ja" | "zh";
13
+ /** Detail shown with native lint diagnostics. @default "full" */
14
+ helpLevel?: "full" | "short" | "none";
11
15
  }
12
16
  interface VizePackOptions {
13
17
  /** Emit Vue and TypeScript declarations after the bundle succeeds. @default true */
@@ -24,6 +28,17 @@ interface VizePackOptions {
24
28
  type WithPack<T> = T extends (infer Item)[] ? WithPack<Item>[] : T & {
25
29
  vize?: VizePackOptions | false;
26
30
  };
31
+ /**
32
+ * Vite and Vite+ both accept a named plugin (including nested async options),
33
+ * but their full Plugin hook types can come from different Vite installations.
34
+ * Comparing those two recursive hook types makes TypeScript 5.9/6 crash.
35
+ */
36
+ type CompatiblePluginOption = {
37
+ name: string;
38
+ } | false | null | undefined | CompatiblePluginOption[] | Promise<CompatiblePluginOption>;
39
+ type WithCompatiblePlugins<T> = Omit<T, "plugins"> & {
40
+ plugins?: CompatiblePluginOption[];
41
+ };
27
42
  type VizeSharedConfig = UserConfig$1 & {
28
43
  /** Alias of lint.vize; lint.vize takes precedence when both are provided. */lint?: VizeLintOptions | boolean;
29
44
  };
@@ -41,9 +56,9 @@ interface VueIntegrationConfig {
41
56
  /** Shared native settings, including scopes, globals and editor settings. */
42
57
  vize?: VizeSharedConfig | UserConfigExport;
43
58
  }
44
- type WithVize<T> = T extends ((...args: infer Args) => infer Result) ? (...args: Args) => WithVize<Result> : T extends Promise<infer Result> ? Promise<WithVize<Result>> : Omit<T, "lint" | "fmt" | "pack"> & VueIntegrationConfig;
59
+ type WithVize<T> = T extends ((...args: infer Args) => infer Result) ? (...args: Args) => WithVize<Result> : T extends Promise<infer Result> ? Promise<WithVize<Result>> : Omit<WithCompatiblePlugins<T>, "lint" | "fmt" | "pack"> & VueIntegrationConfig;
45
60
  type VueConfig = WithVize<VitePlusConfig>;
46
- type VueConfigObject = Omit<UserConfig, "lint" | "fmt" | "pack"> & VueIntegrationConfig;
61
+ type VueConfigObject = Omit<WithCompatiblePlugins<UserConfig>, "lint" | "fmt" | "pack"> & VueIntegrationConfig;
47
62
  type VizeTask = "editor:setup" | "check" | "typecheck" | "lint" | "lint:fix" | "fmt" | "fmt:check" | "pack" | "build" | "dev" | "preview" | "test";
48
63
  interface VizePlusOptions {
49
64
  /** Compiler plugin options; prefer the compiler config section. */
@@ -1,6 +1,6 @@
1
1
  import { i as resolveConfigExport, r as loadConfig } from "./config-PP6EAmWc.mjs";
2
2
  import { t as mergeSharedConfig } from "./shared-config-dMxrrTkb.mjs";
3
- import { a as sourceConfigKey, i as resolveVitePlus, o as taskConfigKey, r as availableVueRules, t as runNative } from "./runner-DvShtC55.mjs";
3
+ import { a as sourceConfigKey, i as resolveVitePlus, o as taskConfigKey, r as availableVueRules, t as runNative } from "./runner-8x__0QxE.mjs";
4
4
  import { randomUUID } from "node:crypto";
5
5
  import path from "node:path";
6
6
  import { readFileSync } from "node:fs";
@@ -166,18 +166,22 @@ function normalizeConfig(source, integration) {
166
166
  return mergeSharedConfig(base === void 0 ? await loadConfig(process.cwd(), { env }) : await resolveConfigExport(base, env), await resolveConfigExport({
167
167
  ...compiler === false ? {} : { compiler: nativeCompiler(compiler) },
168
168
  ...typeof typecheck === "object" ? { typeChecker: typecheck } : {},
169
- ...typeof lintConfig === "object" ? { linter: withoutTypecheck(lintConfig) } : {},
169
+ ...typeof lintConfig === "object" ? { linter: withoutTaskLintOptions(lintConfig) } : {},
170
170
  ...typeof nativeFmt === "object" ? { formatter: nativeFmt } : {}
171
171
  }, env)) ?? {};
172
172
  };
173
173
  const metadata = {
174
174
  config,
175
175
  options,
176
- lintTypecheck: typeof lintConfig === "object" && lintConfig.typecheck === true
176
+ lintTypecheck: typeof lintConfig === "object" && lintConfig.typecheck === true,
177
+ lintLocale: typeof lintConfig === "object" ? lintConfig.locale : void 0,
178
+ lintHelpLevel: typeof lintConfig === "object" ? lintConfig.helpLevel : void 0,
179
+ fmtIgnorePatterns: oxfmt.ignorePatterns
177
180
  };
178
181
  return {
179
182
  vp: {
180
183
  ...rest,
184
+ plugins: rest.plugins,
181
185
  lint: lint ? oxlint : void 0,
182
186
  fmt: fmt ? oxfmt : void 0
183
187
  },
@@ -185,8 +189,8 @@ function normalizeConfig(source, integration) {
185
189
  compiler
186
190
  };
187
191
  }
188
- function withoutTypecheck(config) {
189
- const { typecheck: _typecheck, ...native } = config;
192
+ function withoutTaskLintOptions(config) {
193
+ const { typecheck: _typecheck, locale: _locale, helpLevel: _helpLevel, ...native } = config;
190
194
  return native;
191
195
  }
192
196
  function nativeCompiler(options) {
@@ -317,7 +321,7 @@ function defineConfig(config = {}, integration = {}) {
317
321
  const { options } = metadata;
318
322
  const plugins = compiler === false ? [...vp.plugins ?? []] : await withoutVueCompiler(vp.plugins ?? []);
319
323
  if (compiler !== false) {
320
- const { vize } = await import("./plugin-CewswkDY.mjs");
324
+ const { vize } = await import("./plugin-CXOiac2F.mjs");
321
325
  plugins.unshift(vize({
322
326
  ...compiler,
323
327
  configMode: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/vite-plugin",
3
- "version": "0.426.2",
3
+ "version": "0.426.3",
4
4
  "description": "High-performance native Vite plugin for Vue SFC compilation powered by Vize",
5
5
  "keywords": [
6
6
  "compiler",
@@ -51,12 +51,12 @@
51
51
  "access": "public"
52
52
  },
53
53
  "dependencies": {
54
- "@vizejs/native": "0.426.2",
55
- "@vizejs/unplugin": "0.426.2",
54
+ "@vizejs/native": "0.426.3",
55
+ "@vizejs/unplugin": "0.426.3",
56
56
  "jsonc-parser": "^3.3.1",
57
57
  "oxc-parser": "0.144.0",
58
58
  "tinyglobby": "0.2.17",
59
- "vize": "0.426.2"
59
+ "vize": "0.426.3"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/node": "25.9.2",
@@ -88,6 +88,7 @@
88
88
  "check": "vp check src vite.config.ts",
89
89
  "check:fix": "vp check --fix src vite.config.ts",
90
90
  "fmt": "vp fmt --write src vite.config.ts",
91
- "test": "pnpm --dir ../../native build:debug && node src/test.ts && node --test src/vite-plus/*.test.ts"
91
+ "test": "pnpm --dir ../../native build:debug && node src/test.ts && node --test src/vite-plus/*.test.ts",
92
+ "test:types:real-vite": "vp exec node type-tests/plugin-vue/check.mjs"
92
93
  }
93
94
  }
@@ -1,2 +0,0 @@
1
- import { t as vize } from "./plugin-BSxbzkGl.mjs";
2
- export { vize };