@dargmuesli/nuxt-vio 17.0.0-beta.4 → 17.0.0-beta.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/nuxt.config.ts +6 -1
  2. package/package.json +1 -1
package/nuxt.config.ts CHANGED
@@ -1,3 +1,6 @@
1
+ import { fileURLToPath } from 'node:url'
2
+ import { dirname, join } from 'node:path'
3
+
1
4
  import tailwindcss from '@tailwindcss/vite'
2
5
  import { defu } from 'defu'
3
6
 
@@ -10,6 +13,8 @@ import {
10
13
  } from './utils/constants'
11
14
  import { VIO_NUXT_BASE_CONFIG } from './utils/nuxt'
12
15
 
16
+ const currentDir = dirname(fileURLToPath(import.meta.url))
17
+
13
18
  export default defineNuxtConfig(
14
19
  defu(
15
20
  {
@@ -25,7 +30,7 @@ export default defineNuxtConfig(
25
30
  },
26
31
  },
27
32
  compatibilityDate: '2024-04-03',
28
- css: ['./assets/css/vio.css'],
33
+ css: [join(currentDir, './assets/css/vio.css')],
29
34
  ...(process.env.NUXT_PUBLIC_SITE_URL
30
35
  ? {}
31
36
  : {
package/package.json CHANGED
@@ -117,5 +117,5 @@
117
117
  "start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
118
118
  },
119
119
  "type": "module",
120
- "version": "17.0.0-beta.4"
120
+ "version": "17.0.0-beta.5"
121
121
  }