Bundling from string rather than from file #5208
Answered
by
mischnic
leo-petrucci
asked this question in
Q&A
-
If I have a string of generated HTML that looks like this:
Is there any way for me to pass this to Parcel to generate an html file? I tried creating a temp file and passing that and while that worked, it broke importing js as it's located in a completely different folder. |
Beta Was this translation helpful? Give feedback.
Answered by
mischnic
Oct 4, 2020
Replies: 1 comment 6 replies
-
How should Parcel know where to resolve relative urls from? So such a html snippet needs to have a path anyway for resolving paths. |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
mischnic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How should Parcel know where to resolve relative urls from? So such a html snippet needs to have a path anyway for resolving paths.