@fangzhongya/icons 0.0.5 → 0.0.6
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/index.json +1 -1
- package/dist/vite/index.cjs +1 -1
- package/dist/vite/index.js +1 -1
- package/dist/vite/index2.cjs +1 -1
- package/dist/vite/index2.js +1 -1
- package/package.json +1 -1
package/dist/index.json
CHANGED
package/dist/vite/index.cjs
CHANGED
|
@@ -43,7 +43,7 @@ export default defineComponent({
|
|
|
43
43
|
if (typeof iconName === 'string' && props.type === 'svg') {
|
|
44
44
|
try {
|
|
45
45
|
// \u65B9\u68481\uFF1A\u4F7F\u7528\u52A8\u6001\u5BFC\u5165\u4F46\u52A0\u4E0A vite-ignore \u6CE8\u91CA
|
|
46
|
-
const module = await import(/* @vite-ignore */ '
|
|
46
|
+
const module = await import(/* @vite-ignore */ 'node_modules/@fangzhongya/icons/vue/' + iconName);
|
|
47
47
|
component.value = module.default;
|
|
48
48
|
} catch (error) {
|
|
49
49
|
console.warn('Failed to load icon:', iconName, error);
|
package/dist/vite/index.js
CHANGED
|
@@ -43,7 +43,7 @@ export default defineComponent({
|
|
|
43
43
|
if (typeof iconName === 'string' && props.type === 'svg') {
|
|
44
44
|
try {
|
|
45
45
|
// \u65B9\u68481\uFF1A\u4F7F\u7528\u52A8\u6001\u5BFC\u5165\u4F46\u52A0\u4E0A vite-ignore \u6CE8\u91CA
|
|
46
|
-
const module = await import(/* @vite-ignore */ '
|
|
46
|
+
const module = await import(/* @vite-ignore */ 'node_modules/@fangzhongya/icons/vue/' + iconName);
|
|
47
47
|
component.value = module.default;
|
|
48
48
|
} catch (error) {
|
|
49
49
|
console.warn('Failed to load icon:', iconName, error);
|
package/dist/vite/index2.cjs
CHANGED
|
@@ -41,7 +41,7 @@ export default defineComponent({
|
|
|
41
41
|
if (typeof iconName === 'string' && props.type === 'svg') {
|
|
42
42
|
// SVG \u7C7B\u578B\uFF1A\u4ECE @fangzhongya/icons \u5E93\u5BFC\u5165
|
|
43
43
|
return defineAsyncComponent(() =>
|
|
44
|
-
import(/* @vite-ignore */'
|
|
44
|
+
import(/* @vite-ignore */'node_modules/@fangzhongya/icons/vue/' + iconName)
|
|
45
45
|
.then(module => module.default)
|
|
46
46
|
.catch(() => {
|
|
47
47
|
// \u5982\u679C\u5BFC\u5165\u5931\u8D25\uFF0C\u5C1D\u8BD5\u89E3\u6790\u7EC4\u4EF6
|
package/dist/vite/index2.js
CHANGED
|
@@ -41,7 +41,7 @@ export default defineComponent({
|
|
|
41
41
|
if (typeof iconName === 'string' && props.type === 'svg') {
|
|
42
42
|
// SVG \u7C7B\u578B\uFF1A\u4ECE @fangzhongya/icons \u5E93\u5BFC\u5165
|
|
43
43
|
return defineAsyncComponent(() =>
|
|
44
|
-
import(/* @vite-ignore */'
|
|
44
|
+
import(/* @vite-ignore */'node_modules/@fangzhongya/icons/vue/' + iconName)
|
|
45
45
|
.then(module => module.default)
|
|
46
46
|
.catch(() => {
|
|
47
47
|
// \u5982\u679C\u5BFC\u5165\u5931\u8D25\uFF0C\u5C1D\u8BD5\u89E3\u6790\u7EC4\u4EF6
|