parcel v1 vs parcel v2 opinions #8197
Unanswered
cancerberoSgx
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
-
This is user feedback from a former happy parcel user one year ago (from version 1.12.3) trying to upgrade to parcel 2.6 in his projects. I was very happy, never had a problem but now I'm facing with some annoying limitations. Seems in general parcel now has new validations/transformations around javascript, css and html code - and that is against the thing I always loved from parcel: it always work! Here some details for authors to re-consider:
why are you adding "use strict" to my code?
Uncaught SyntaxError: Octal escape sequences are not allowed in strict mode. (at index.2d3ace14.js:63809:67)
My project imports a webassembly library which contain octal escapes. Why are you adding a "use strict" statement in my code to make it fail like this?
related complain
problem why are you validating my css syntax ?
#7963
why are you validating my html ?
@parcel/transformer-js: Browser scripts cannot have imports or exports.
💡 Add the type="module" attribute to the <script> tag.
this is also annoying... is it really necessary?
I would really appreciate any tip for the 1 and 2 errors.
As a former amazed user, please please reconsider using these parsers / transformers with such opinionated validations. In the meanwhile I'm stuck with version 1 and evaluating other alternatives :(
Beta Was this translation helpful? Give feedback.
All reactions