stop Parcel adding '/' before every source in HTML and CSS #5851
Unanswered
eladzipper96
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
for example: in the original HTML file
<link rel="stylesheet" href="style.css">
and after using the start script in the json file
"start": "parcel index.html",
in the new HTML file:
<link rel="stylesheet" href="/style.e308ff8e.css">
That extra / at start of the href is making the entire thing not work.
How can i stop parcel from adding it?
Note: its the same case with JS and img elements.
Beta Was this translation helpful? Give feedback.
All reactions