Is it possible to decorate parcel bundler dist folder?

When I compile code with parcel using the command parcel src/index.html its just generate all files inside dist folder, like this image below. But I need a decorated way to manage files after complete my website. I mean I need img folder for all the images inside ./dist/img/... and also for css and js folder inside the dist folder.

How can I archive something like in the second image

enter image description here enter image description here

Add Comment
1 Answer(s)

I think you could achieve your goal by using custom packager and change the destination path due to AssetType.

Answered on July 16, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.