Is it possible to decorate parcel bundler dist folder?

Viewed 795

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

1 Answers

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

Related