-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
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
how to resolve absolute imports? #1017
Comments
Are you setting the Edit: You could do something like this I believe:
|
Hi, thank's for the response! I tried to use the alias, but without success, now I get an error when trying to import the file
|
It'd help if you could provide a reproduction. |
Thank you very much for your help! I created a project that reproduces the problem. https://github.com/JuniorAlbuquerque/microbundle-react-lib-example/blob/main/package.json I created two scripts,
that generated the dist, but without resolving the absolute import
and the script:
with the --alias flag it gives me the import error
|
So there's a few issues here:
Hope this helps! |
Thanks for the help, indeed the Thank you so much, Best regards. |
Good luck! Certainly feel free to comment here if you run into any further issues. |
in build the files imported with absolute are being generated like this
Any idea how this can be resolved?
The text was updated successfully, but these errors were encountered: