@vixt/uni 0.6.1 → 0.6.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.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -6
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -262,9 +262,10 @@ var uni_modules_default = defineVixtModule({
262
262
 
263
263
  //#endregion
264
264
  //#region src/index.ts
265
+ const plugins = ["@vixt/uni/client/plugins/pinia", "@vixt/uni/client/plugins/router"];
265
266
  var src_default = createVixtPlugin({ defaults: {
266
267
  modules: [preset_uni_default, uni_modules_default],
267
- plugins: ["@vixt/uni/client/plugins/pinia", "@vixt/uni/client/plugins/router"],
268
+ plugins,
268
269
  app: {
269
270
  entryFile: "main.ts",
270
271
  entryCode: fs.readFileSync(resolvePathSync("@vixt/uni/client/entry"), "utf-8"),
@@ -281,11 +282,7 @@ var src_default = createVixtPlugin({ defaults: {
281
282
  ] },
282
283
  vueCompilerOptions: { plugins: ["@uni-helper/uni-app-types/volar-plugin"] }
283
284
  } },
284
- vite: { optimizeDeps: { exclude: [
285
- "@vixt/uni/client/entry",
286
- "@vixt/uni/client/plugins/pinia",
287
- "@vixt/uni/client/plugins/router"
288
- ] } }
285
+ vite: { optimizeDeps: { exclude: plugins } }
289
286
  } });
290
287
 
291
288
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixt/uni",
3
3
  "type": "module",
4
- "version": "0.6.1",
4
+ "version": "0.6.3",
5
5
  "author": "SoulLyoko<https://github.com/SoulLyoko>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://soullyoko.github.io/vixt/",
@@ -33,7 +33,7 @@
33
33
  "@uni-helper/vite-plugin-uni-layouts": "^0.1.11",
34
34
  "@uni-helper/vite-plugin-uni-pages": "^0.3.22",
35
35
  "unocss-applet": "^0.12.2",
36
- "@vixt/core": "0.6.1",
37
- "@vixt/vue": "0.6.1"
36
+ "@vixt/core": "0.6.3",
37
+ "@vixt/vue": "0.6.3"
38
38
  }
39
39
  }