-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Hi There, loving the speed of esbuild but im having an issue with my dynamic import that has variables in it.
export const getIcon = (name: IconTypes) => {
return lazy(() => import(`./icons/${name}`));
};
so the icons folder never gets generated in my repo so this fails, which breaks the icon component completely.
Is there any way to get this to import correctly.
Metadata
Metadata
Assignees
Labels
No labels