@model-w/preset-nuxt3 1.0.2 → 1.0.4

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/index.ts +2 -10
  2. package/package.json +3 -3
package/index.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { resolve } from "node:path";
2
1
  // @ts-ignore
3
2
  import { defineNuxtConfig } from "nuxt/config";
4
3
  import { defu } from "defu";
@@ -310,15 +309,8 @@ export function defineModelWConfig(
310
309
 
311
310
  ...(enableRuntimeTemplate
312
311
  ? {
313
- vite: {
314
- resolve: {
315
- alias: {
316
- vue: resolve(
317
- __dirname,
318
- "node_modules/vue/dist/vue.esm-bundler.js"
319
- ),
320
- },
321
- },
312
+ experimental: {
313
+ runtimeVueCompiler: true,
322
314
  },
323
315
  }
324
316
  : {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@model-w/preset-nuxt3",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "description": "Preset of Nuxt3 for ModelW",
6
6
  "license": "WTFPL",
@@ -36,8 +36,8 @@
36
36
  "node": "18.x"
37
37
  },
38
38
  "peerDependencies": {
39
- "@model-w/axios": "0.x || 1.x",
40
- "@model-w/proxy": "0.x || 1.x",
39
+ "@model-w/axios": "1.x",
40
+ "@model-w/proxy": "1.x",
41
41
  "@model-w/sentry": "1.x",
42
42
  "@vuelidate/core": "2.0.x",
43
43
  "@vuelidate/validators": "2.0.x",