Hello,
I am currently bundling my app with Parcel and the dynamic async import into EuiIcon is lost while bundling because the path is dynamically set and so it can't be detected at build time.
When it loads, the assets path does'nt exist, of course. I don't have a good solution for that instead of importing them all statically and bet on tree-shaking to clean the code at build time.
Has anybody already have this problem or know how to solve it simply?
Thanks.
Hello,
I am currently bundling my app with Parcel and the dynamic async import into EuiIcon is lost while bundling because the path is dynamically set and so it can't be detected at build time.
eui/src/components/icon/icon.tsx
Line 491 in 8d0fdee
When it loads, the assets path does'nt exist, of course. I don't have a good solution for that instead of importing them all statically and bet on tree-shaking to clean the code at build time.
Has anybody already have this problem or know how to solve it simply?
Thanks.