We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I updated version from 1.0.0 to 2.0.0 and my dynamic imports from javascript files are broken now
code:
import('./polyfills').then(() => /* ... */)
output:
BEFORE:
()=>import("./polyfills.js"),["assets/polyfills.js","assets/browser.js"])
AFTER:
()=>import((chrome!=null?chrome:browser).runtime.getURL("./polyfills.js")),[])
Where the build output for ./polyfills is assets/polyfills.js
./polyfills
assets/polyfills.js
The text was updated successfully, but these errors were encountered:
Can you provide a little more info about the layout of the files you're using/importing? Maybe push an example to a repo somewhere?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I updated version from 1.0.0 to 2.0.0
and my dynamic imports from javascript files are broken now
code:
output:
BEFORE:
AFTER:
Where the build output for
./polyfills
isassets/polyfills.js
The text was updated successfully, but these errors were encountered: