Replies: 1 comment 1 reply
-
Which error are you getting?
Looks like the newline there is just hardcoded: parcel/packages/core/parcel-bundler/src/packagers/JSPackager.js Lines 113 to 121 in d33fcd9 (And Parcel 1 ran Terser per file, not on the whole bundle. So Terser can't remove it either)
Parcel 1: no, add |
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
-
Hello everybody, I'd like to know two things:
First one is if this kind of compilation is usual in Parcel, when I try the compiled app.js in the browser console it tells me that Parcel is not defined and the mined file doesn't do it well.
I don't understand why Parcel leaves that gap in the file obfuscated and mined.
The second I wanted to know is if the tree shaking is activated by default, I attach a comparison of a compilation made by Webpack and the one made by Parcel.
Beta Was this translation helpful? Give feedback.
All reactions