create-html5-boilerplate icon indicating copy to clipboard operation
create-html5-boilerplate copied to clipboard

flat dist folder structure

Open kartofelek007 opened this issue 4 years ago • 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/

kartofelek007 avatar Jun 23 '20 00:06 kartofelek007

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

roblarsen avatar Jun 23 '20 00:06 roblarsen

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 https://github.com/parcel-bundler/parcel/issues/4006#issuecomment-574768653

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

vltansky avatar Aug 18 '20 17:08 vltansky