Parcel creates two .js files #5018
Replies: 4 comments 5 replies
-
@jbonigomes |
Beta Was this translation helpful? Give feedback.
-
Same issue here. |
Beta Was this translation helpful? Give feedback.
-
I have this as well, and it's a problem for me. Is there a way to either prevent the second one from getting built, or to name the two differently so we can distinguish them at a glance? (I'm using parcel-namer-custom, but there's no way to handle the two outputs as far as I can tell.) |
Beta Was this translation helpful? Give feedback.
-
Parcel automatically creates two scripts for differential serving via module/nomodule: https://parceljs.org/blog/rc0/#differential-bundling If you set a |
Beta Was this translation helpful? Give feedback.
-
When running 'parcel index.html', where my 'index.html' imports a single .js file, Parcel's output to the dist folder contains two .js files, one imported in the header section and the other at the end of the body. Is there a way to get Parcel to generate a single .js file? Same goes for .css...
Beta Was this translation helpful? Give feedback.
All reactions