As written in the guide and stated in a number of forum posts, NPM packages are not recompiled for legacy browser.
In my case, the problem arose using the
svelte NPM together with
svelte:compiler. I’ve documented the issue here.
There are two solutions, one of them must be done by the developer, who uses this NPM:
- Create a symbolic link in the
importsdirectory, which points to the package in the
node_modulesdirectory (as described here)
- Use the
package.json(described here, didn’t work in my case)
To be more developer-friendly, it would be nice to trigger the recompilation in the Atmosphere package.
Is there already a way to do this?