h5bp/create-html5-boilerplate

flat dist folder structure

kartofelek007 opened this issue · 2 comments

Percell generate flat dist folder structure. It doesn't look good compared to "classic" html5 boilerplate version.
Maybe add this plugin:
https://github.com/VladimirMikulic/parcel-plugin-custom-dist-structure
with setup for source maps from this page (read comments!):
https://www.fruitdudragon.com/using-parcel-plugin-custom-dist-structure-with-parcel/

Can you show me an example of what you're taking about?

This will be possible in Parcel 2, thanks to the naming plugin. Parcel 1 has a flat file structure with hashes as this is the easiest to deploy to a cdn

Originally posted by @DeMoorJasper in parcel-bundler/parcel#4006 (comment)

I think better to wait for Parcel 2 which will support this feature out of the box rather than using 3rd party plugin.