Skip to content

Commit fd9494a

Browse files
committed
Update index.js
1 parent f8a2528 commit fd9494a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devops/icons/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ const generateJS = (icons) => {
174174
return `{
175175
name: "${icon.name}",
176176
${icon.legacy ? 'legacy: true,' : ''}
177-
path: import("./icons/${icon.fileName}.js"),
177+
path: () => import("./icons/${icon.fileName}.js"),
178178
}`.replace(/\t/g, ''); // Regex removes white space [NL]
179179
});
180180

0 commit comments

Comments
 (0)