You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a project that has this organization where all the assets referenced in the .html files should be organized into their own folders.
For example, images should be dist/assets/img/
And css should be dist/assets/css/
Js in dist/assets/js/
But for the life of me I can't figure out how to set that up in package.json or any other way. Instead, all the images, css and js are in the root of the /dist/ folder alongside the .html files.
I've been searching online for a solution most of the day and can't figure it out. (This is my first time using Parcel, though I've used other bundlers with NPM.)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a project that has this organization where all the assets referenced in the .html files should be organized into their own folders.
For example, images should be dist/assets/img/
And css should be dist/assets/css/
Js in dist/assets/js/
But for the life of me I can't figure out how to set that up in package.json or any other way. Instead, all the images, css and js are in the root of the /dist/ folder alongside the .html files.
I've been searching online for a solution most of the day and can't figure it out. (This is my first time using Parcel, though I've used other bundlers with NPM.)
Beta Was this translation helpful? Give feedback.
All reactions