doesn't support nested folders yet. haven't figured out the code for that. so this directory structure (on ./src is not yet supported)
src
├── gaya.sass // ok
├── more
│ └── moree
│ └── this-wont-do-either.css
├── more.less // ok
├── other.css // ok
├── something
│ └── this-wont-do.css
└── style.styl // ok
I spent around 30 mins to figure out the workaround for that (above) and for rmdir and mkdir the ./dist directory when it already exists in the first place, but then I realized I was wasting my time and can't figure it out. so please, when you're doing npm run build again, please delete the ./dist folder first.
npm scripts:
npm run dev
- running dev servernpm run build
- compile everything to./dist
a few things to note:
./src
is not yet supported)rmdir
andmkdir
the./dist
directory when it already exists in the first place, but then I realized I was wasting my time and can't figure it out. so please, when you're doingnpm run build
again, please delete the./dist
folder first.thanks. now I'm gonna lay my head.