You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
When I'm using parcel-cli "parcel build src/index.html --public-url ./ --out-dir build/" the output alter inline JS leading to not working code. This does not happen when using parcel src/index.html (bundled server).
🤔 Expected Behavior
The inlined JS should not be changed.
😯 Current Behavior
The inlined JS in my HTML is being wrongly altered.
How it is in my source file :
🐛 bug report
Hello,
When I'm using parcel-cli "parcel build src/index.html --public-url ./ --out-dir build/" the output alter inline JS leading to not working code. This does not happen when using parcel src/index.html (bundled server).
🤔 Expected Behavior
The inlined JS should not be changed.
😯 Current Behavior
The inlined JS in my HTML is being wrongly altered.
How it is in my source file :
The output in build/index.html:
As you can see, if(media!='all')media='all'; as been translated to "all"!=media&&(media="all")
💁 Possible Solution
I have no idea!
🔦 Context
Doing a simple landing page using UIKIT.
🌍 Your Environment
I'm using VIsualStudioCode.
The text was updated successfully, but these errors were encountered: