Parcel bundle remote/local moduel in HTML #9454
Unanswered
electriquo
asked this question in
Q&A
Replies: 1 comment 1 reply
-
That should be working. Not sure why it doesn't Related issue for remote imports: #4148 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given a HTML page as follows
How can I make Parcel bundle the script in a remote URL?
Alternatively, using NodeJS dependency manager, such as npm, the module can be downloaded locally, which changes the import URL as follows
Using a local webserver (not the one builtin in Parcel), the HTML file opens without any issue. Still I was unable to make Parcel bundle the file, even when using bare specifiers, and I think that when using the bare specifiers, the HTML will not load in the browser when Parcel is not use.
I am interested in a path/URL which will be resolved correctly without and with Parcel.
Beta Was this translation helpful? Give feedback.
All reactions