vuetify-nuxt-module 0.15.0 → 0.15.1
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.d.mts +6 -0
- package/dist/module.d.ts +6 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +8 -2
- package/package.json +1 -1
package/dist/module.d.mts
CHANGED
|
@@ -251,6 +251,12 @@ interface MOptions {
|
|
|
251
251
|
* @default true
|
|
252
252
|
*/
|
|
253
253
|
includeTransformAssetsUrls?: boolean | Record<string, string[]>;
|
|
254
|
+
/**
|
|
255
|
+
* Directives Vuetify Vite Plugin should ignore.
|
|
256
|
+
*
|
|
257
|
+
* @since v0.15.1
|
|
258
|
+
*/
|
|
259
|
+
ignoreDirectives?: DirectiveName | DirectiveName[];
|
|
254
260
|
/**
|
|
255
261
|
* Vuetify SSR client hints.
|
|
256
262
|
*
|
package/dist/module.d.ts
CHANGED
|
@@ -251,6 +251,12 @@ interface MOptions {
|
|
|
251
251
|
* @default true
|
|
252
252
|
*/
|
|
253
253
|
includeTransformAssetsUrls?: boolean | Record<string, string[]>;
|
|
254
|
+
/**
|
|
255
|
+
* Directives Vuetify Vite Plugin should ignore.
|
|
256
|
+
*
|
|
257
|
+
* @since v0.15.1
|
|
258
|
+
*/
|
|
259
|
+
ignoreDirectives?: DirectiveName | DirectiveName[];
|
|
254
260
|
/**
|
|
255
261
|
* Vuetify SSR client hints.
|
|
256
262
|
*
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -14,7 +14,7 @@ import { pathToFileURL } from 'node:url';
|
|
|
14
14
|
import { parseQuery, parseURL } from 'ufo';
|
|
15
15
|
import destr from 'destr';
|
|
16
16
|
|
|
17
|
-
const version = "0.15.
|
|
17
|
+
const version = "0.15.1";
|
|
18
18
|
|
|
19
19
|
const VIRTUAL_VUETIFY_CONFIGURATION = "virtual:vuetify-configuration";
|
|
20
20
|
const RESOLVED_VIRTUAL_VUETIFY_CONFIGURATION = `/@nuxt-vuetify-configuration/${VIRTUAL_VUETIFY_CONFIGURATION.slice("virtual:".length)}`;
|
|
@@ -1215,7 +1215,13 @@ function configureVite(configKey, nuxt, ctx) {
|
|
|
1215
1215
|
viteInlineConfig.vue.template ??= {};
|
|
1216
1216
|
viteInlineConfig.vue.template.transformAssetUrls = transformAssetUrls;
|
|
1217
1217
|
}
|
|
1218
|
-
|
|
1218
|
+
const vuetifyImportOptions = {};
|
|
1219
|
+
const ignoreDirectives = ctx.moduleOptions.ignoreDirectives;
|
|
1220
|
+
if (ignoreDirectives) {
|
|
1221
|
+
const ignore = Array.isArray(ignoreDirectives) ? ignoreDirectives : [ignoreDirectives];
|
|
1222
|
+
vuetifyImportOptions.autoImport = { ignore };
|
|
1223
|
+
}
|
|
1224
|
+
viteInlineConfig.plugins.push(vuetifyImportPlugin(vuetifyImportOptions));
|
|
1219
1225
|
viteInlineConfig.plugins.push(vuetifyStylesPlugin({ styles: ctx.moduleOptions.styles }, ctx.logger));
|
|
1220
1226
|
viteInlineConfig.plugins.push(vuetifyConfigurationPlugin(ctx));
|
|
1221
1227
|
viteInlineConfig.plugins.push(vuetifyIconsPlugin(ctx));
|