I'm using Parcel 2. I have set up a folder structure for separate JS and Scss files. I can get Parcel to bundle them and output the files, however, they end up in a subfolder. I want the files to be in the root of the output folder.
Structure:
- assets (dir)
- styles (dir)
- templates
- sections
- index.scss
- scripts (dir)
- templates
- sections
- index.js
I want both index files to make it into the root of the assets folder, but when I run Parcel I end up with this:
- assets
- styles
- index.css
- scripts
- index.js
- styles
I've tried many different variations of the command, but so far none will drop the files into the root of assets. Any ideas?
This is the current command from my package.json file:
"dev": "parcel styles/index.scss scripts/index.js --dist-dir assets"