vuetify-nuxt-module 0.4.11 → 0.4.12
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 +3 -3
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { isAbsolute, join, relative } from 'pathe';
|
|
|
6
6
|
import { normalizePath as normalizePath$1 } from 'vite';
|
|
7
7
|
import { isPackageExists } from 'local-pkg';
|
|
8
8
|
|
|
9
|
-
const version = "0.4.
|
|
9
|
+
const version = "0.4.12";
|
|
10
10
|
|
|
11
11
|
function isSubdir(root, test) {
|
|
12
12
|
const relative$1 = relative(root, test);
|
|
@@ -484,7 +484,7 @@ function prepareIcons(unocssPresent, logger, vuetifyOptions) {
|
|
|
484
484
|
defaultSet = "mdi";
|
|
485
485
|
sets = sets.filter((s) => s.name !== "unocss-mdi");
|
|
486
486
|
}
|
|
487
|
-
sets.filter((s) => cssFonts.includes(s.name)).
|
|
487
|
+
sets.filter((s) => cssFonts.includes(s.name)).forEach(({ name, cdn }) => {
|
|
488
488
|
if (name === "unocss-mdi")
|
|
489
489
|
return;
|
|
490
490
|
resolvedIcons.imports.push(`import {${name === defaultSet ? "aliases," : ""}${name}} from 'vuetify/iconsets/${name}'`);
|
|
@@ -492,7 +492,7 @@ function prepareIcons(unocssPresent, logger, vuetifyOptions) {
|
|
|
492
492
|
if (isPackageExists(iconsPackageNames[name].name))
|
|
493
493
|
resolvedIcons.local.push(iconsPackageNames[name].css);
|
|
494
494
|
else
|
|
495
|
-
resolvedIcons.cdn.push(iconsCDN[name]);
|
|
495
|
+
resolvedIcons.cdn.push(cdn ?? iconsCDN[name]);
|
|
496
496
|
});
|
|
497
497
|
if (resolvedIcons.unocss && defaultSet === "unocss-mdi") {
|
|
498
498
|
if (!resolvedIcons.sets.includes("mdi")) {
|