0

We have a small static site based on Tailwind, PostCSS and PostHTML that doesn't contain any JS/TS code or <script>-tag whatsoever.

However, building with Parcel 2.6.0 yields a 19kb large javascript file (+ a 28kb large map file) in the /dist-folder that is included in the generated index.html, which is pointless and generates unnecessary payload and requests.

I could not find anything in the documentation regarding this, also simply setting "transformers" to false or similar in .parcelrc did not work to disable this behaviour.

How can i get a generated bundle in the /dist-folder free of any JavaScript?

Philzen
  • 3,945
  • 30
  • 46

0 Answers0