Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flat dist folder structure #33

Open
kartofelek007 opened this issue Jun 23, 2020 · 2 comments
Open

flat dist folder structure #33

kartofelek007 opened this issue Jun 23, 2020 · 2 comments
Labels

Comments

@kartofelek007
Copy link

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/

@roblarsen
Copy link
Member

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

@vltansky
Copy link
Member

vltansky commented Aug 18, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants