@model-w/preset-nuxt3 1.0.2 → 1.0.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/index.ts +2 -4
  2. package/package.json +1 -1
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";
@@ -313,9 +312,8 @@ export function defineModelWConfig(
313
312
  vite: {
314
313
  resolve: {
315
314
  alias: {
316
- vue: resolve(
317
- __dirname,
318
- "node_modules/vue/dist/vue.esm-bundler.js"
315
+ vue: require.resolve(
316
+ "vue/dist/vue.esm-bundler.js"
319
317
  ),
320
318
  },
321
319
  },
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.3",
4
4
  "type": "module",
5
5
  "description": "Preset of Nuxt3 for ModelW",
6
6
  "license": "WTFPL",