@vixt/vue 0.6.1 → 0.6.2

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.
@@ -1,8 +1,8 @@
1
- import * as vue2 from "vue";
1
+ import * as vue0 from "vue";
2
2
  import "virtual:vixt:css";
3
3
  import "virtual:uno.css";
4
4
 
5
5
  //#region src/client/entry.d.ts
6
- declare function entry(): Promise<vue2.App<Element>>;
6
+ declare function entry(): Promise<vue0.App<Element>>;
7
7
  //#endregion
8
8
  export { entry as default };
package/dist/index.mjs CHANGED
@@ -3314,10 +3314,10 @@ prototypeAccessors.inClassStaticBlock.get = function() {
3314
3314
  return (this.currentVarScope().flags & SCOPE_CLASS_STATIC_BLOCK) > 0;
3315
3315
  };
3316
3316
  Parser.extend = function extend() {
3317
- var plugins = [], len = arguments.length;
3318
- while (len--) plugins[len] = arguments[len];
3317
+ var plugins$1 = [], len = arguments.length;
3318
+ while (len--) plugins$1[len] = arguments[len];
3319
3319
  var cls = this;
3320
- for (var i$1 = 0; i$1 < plugins.length; i$1++) cls = plugins[i$1](cls);
3320
+ for (var i$1 = 0; i$1 < plugins$1.length; i$1++) cls = plugins$1[i$1](cls);
3321
3321
  return cls;
3322
3322
  };
3323
3323
  Parser.parse = function parse$1(input, options) {
@@ -8788,9 +8788,10 @@ var virtual_root_component_default = defineVixtModule({
8788
8788
 
8789
8789
  //#endregion
8790
8790
  //#region src/index.ts
8791
+ const plugins = ["@vixt/vue/client/plugins/pinia", "@vixt/vue/client/plugins/router"];
8791
8792
  var src_default = createVixtPlugin({ defaults: {
8792
8793
  modules: [preset_vue_default, virtual_root_component_default],
8793
- plugins: ["@vixt/vue/client/plugins/pinia", "@vixt/vue/client/plugins/router"],
8794
+ plugins,
8794
8795
  app: {
8795
8796
  entryFile: "main.ts",
8796
8797
  entryCode: import_lib.default.readFileSync(resolvePathSync("@vixt/vue/client/entry"), "utf-8"),
@@ -8803,7 +8804,8 @@ var src_default = createVixtPlugin({ defaults: {
8803
8804
  "@vixt/vue/types",
8804
8805
  "vite-plugin-vue-layouts/client",
8805
8806
  "unplugin-vue-router/client"
8806
- ] } } }
8807
+ ] } } },
8808
+ vite: { optimizeDeps: { exclude: plugins } }
8807
8809
  } });
8808
8810
 
8809
8811
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixt/vue",
3
3
  "type": "module",
4
- "version": "0.6.1",
4
+ "version": "0.6.2",
5
5
  "author": "SoulLyoko<https://github.com/SoulLyoko>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://soullyoko.github.io/vixt/",
@@ -37,6 +37,6 @@
37
37
  "vue": "^3.5.26",
38
38
  "vue-router": "^4.6.4",
39
39
  "vue-tsc": "^3.2.1",
40
- "@vixt/core": "0.6.1"
40
+ "@vixt/core": "0.6.2"
41
41
  }
42
42
  }