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 CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.4.11"
7
+ "version": "0.4.12"
8
8
  }
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.11";
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)).map((s) => s.name).forEach((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")) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vuetify-nuxt-module",
3
3
  "type": "module",
4
- "version": "0.4.11",
4
+ "version": "0.4.12",
5
5
  "packageManager": "pnpm@8.6.9",
6
6
  "description": "Zero-Config Nuxt Module for Vuetify",
7
7
  "author": "userquin <userquin@gmail.com>",