vuetify-nuxt-module 0.18.1 → 0.18.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.
- package/dist/module.json +1 -1
- package/dist/module.mjs +11 -10
- package/package.json +3 -3
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -16,7 +16,7 @@ import { transformAssetUrls } from 'vite-plugin-vuetify';
|
|
|
16
16
|
import { parseQuery, parseURL } from 'ufo';
|
|
17
17
|
import destr from 'destr';
|
|
18
18
|
|
|
19
|
-
const version = "0.18.
|
|
19
|
+
const version = "0.18.3";
|
|
20
20
|
|
|
21
21
|
const VIRTUAL_VUETIFY_CONFIGURATION = "virtual:vuetify-configuration";
|
|
22
22
|
const RESOLVED_VIRTUAL_VUETIFY_CONFIGURATION = `\0${VIRTUAL_VUETIFY_CONFIGURATION}`;
|
|
@@ -555,8 +555,12 @@ function vuetifyStylesPlugin(options, [major, minor, patch], _logger) {
|
|
|
555
555
|
}
|
|
556
556
|
},
|
|
557
557
|
async resolveId(source, importer, { custom, ssr }) {
|
|
558
|
-
if (source.startsWith(PREFIX) || source.startsWith(SSR_PREFIX))
|
|
559
|
-
|
|
558
|
+
if (source.startsWith(PREFIX) || source.startsWith(SSR_PREFIX)) {
|
|
559
|
+
if (source.endsWith(".sass"))
|
|
560
|
+
return source;
|
|
561
|
+
const idx = source.indexOf("?");
|
|
562
|
+
return idx > -1 ? source.slice(0, idx) : source;
|
|
563
|
+
}
|
|
560
564
|
if (source === "vuetify/styles" || importer && source.endsWith(".css") && isSubdir(vuetifyBase, path.isAbsolute(source) ? source : importer)) {
|
|
561
565
|
if (options.styles === "sass") {
|
|
562
566
|
const target2 = source.replace(/\.css$/, ".sass");
|
|
@@ -1241,13 +1245,10 @@ function configureVite(configKey, nuxt, ctx) {
|
|
|
1241
1245
|
if (enableModernSassCompiler) {
|
|
1242
1246
|
const sassEmbedded = isPackageExists("sass-embedded");
|
|
1243
1247
|
if (sassEmbedded) {
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
viteInlineConfig.css.preprocessorOptions.sass ??= {};
|
|
1249
|
-
viteInlineConfig.css.preprocessorOptions.sass.api = "modern-compiler";
|
|
1250
|
-
}
|
|
1248
|
+
viteInlineConfig.css ??= {};
|
|
1249
|
+
viteInlineConfig.css.preprocessorOptions ??= {};
|
|
1250
|
+
viteInlineConfig.css.preprocessorOptions.sass ??= {};
|
|
1251
|
+
viteInlineConfig.css.preprocessorOptions.sass.api = "modern-compiler";
|
|
1251
1252
|
} else {
|
|
1252
1253
|
viteInlineConfig.css ??= {};
|
|
1253
1254
|
viteInlineConfig.css.preprocessorOptions ??= {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vuetify-nuxt-module",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.18.
|
|
4
|
+
"version": "0.18.3",
|
|
5
5
|
"packageManager": "pnpm@9.9.0",
|
|
6
6
|
"description": "Zero-Config Nuxt Module for Vuetify",
|
|
7
7
|
"author": "userquin <userquin@gmail.com>",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"homepage": "https://github.com/vuetifyjs/nuxt-module#readme",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "https://github.com/vuetifyjs/nuxt-module.git"
|
|
12
|
+
"url": "git+https://github.com/vuetifyjs/nuxt-module.git"
|
|
13
13
|
},
|
|
14
14
|
"bugs": "https://github.com/vuetifyjs/nuxt-module/issues",
|
|
15
15
|
"keywords": [
|
|
@@ -143,4 +143,4 @@
|
|
|
143
143
|
"installDependencies": false,
|
|
144
144
|
"startCommand": "node .stackblitz.js && pnpm install && nr prepack && nr dev:prepare && nr dev"
|
|
145
145
|
}
|
|
146
|
-
}
|
|
146
|
+
}
|