-
I've just installed yarn to test out parcel 2 as 1 didn't support keeping ther existing folder structure. Now I'm wondering, what's the command line argument for keeping the folder structure as it is? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
If you mean maintain the source file structure in the dist folder it is currently not the default behaviour and would require a custom namer plugin to do |
Beta Was this translation helpful? Give feedback.
-
@hobofan I've created an experimental namer to do just that (it's really just the default namer with a commented out if statement): https://www.npmjs.com/package/@mischnic/parcel-namer-preserve-structure |
Beta Was this translation helpful? Give feedback.
@hobofan I've created an experimental namer to do just that (it's really just the default namer with a commented out if statement): https://www.npmjs.com/package/@mischnic/parcel-namer-preserve-structure