@vizejs/vite-plugin 0.273.0 → 0.274.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +22 -2
  2. package/package.json +3 -3
package/dist/index.d.mts CHANGED
@@ -589,14 +589,34 @@ interface ConfigEnv {
589
589
  command: "serve" | "build" | "check" | "lint" | "fmt";
590
590
  isSsrBuild?: boolean;
591
591
  }
592
- type UserConfig = VizeConfig & {
592
+ type VueConfig = {
593
+ /**
594
+ * Vue dialect selected by the documented `vue.version` config key.
595
+ */
596
+ version?: VueVersion;
597
+ };
598
+ type UserConfigEntry = VizeConfigEntry & {
599
+ /**
600
+ * Shared Vue dialect section accepted by the Rust config model.
601
+ */
602
+ vue?: VueConfig;
603
+ };
604
+ type UserConfig = Omit<VizeConfig, "entries"> & {
605
+ /**
606
+ * Shared Vue dialect section accepted by the Rust config model.
607
+ */
608
+ vue?: VueConfig;
593
609
  /**
594
610
  * Legacy alias for `languageServer`.
595
611
  * Prefer `languageServer`.
596
612
  */
597
613
  lsp?: LanguageServerConfig;
614
+ /**
615
+ * Scoped config entries for monorepos and workspaces.
616
+ */
617
+ entries?: UserConfigEntry[];
598
618
  };
599
- type UserConfigInput = UserConfig | VizeConfigEntry[];
619
+ type UserConfigInput = UserConfig | UserConfigEntry[];
600
620
  type ResolvedVizeConfig = VizeConfig & {
601
621
  /**
602
622
  * Normalized flat entries. Plain object configs become one entry; array configs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/vite-plugin",
3
- "version": "0.273.0",
3
+ "version": "0.274.0",
4
4
  "description": "High-performance native Vite plugin for Vue SFC compilation powered by Vize",
5
5
  "keywords": [
6
6
  "compiler",
@@ -40,9 +40,9 @@
40
40
  "access": "public"
41
41
  },
42
42
  "dependencies": {
43
- "@vizejs/native": "0.273.0",
43
+ "@vizejs/native": "0.274.0",
44
44
  "tinyglobby": "0.2.16",
45
- "vize": "0.273.0"
45
+ "vize": "0.274.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/node": "25.9.2",