@dargmuesli/nuxt-vio 17.0.0-beta.4 → 17.0.0
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.
- package/nuxt.config.ts +6 -1
- package/package.json +2 -2
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
@@ -27,7 +27,7 @@
|
|
27
27
|
"eslint-config-prettier": "10.0.1",
|
28
28
|
"eslint-plugin-compat": "6.0.2",
|
29
29
|
"eslint-plugin-prettier": "5.2.3",
|
30
|
-
"eslint-plugin-yml": "1.
|
30
|
+
"eslint-plugin-yml": "1.17.0",
|
31
31
|
"globals": "15.15.0",
|
32
32
|
"jiti": "2.4.2",
|
33
33
|
"jose": "5.10.0",
|
@@ -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
|
120
|
+
"version": "17.0.0"
|
121
121
|
}
|