Proposal
- Drop node-sass as the sass loader. ( this enables point 2 )
- Adopt vite as the package bundler ( for projects that use this package )
Why drop node-sass?
node-sass is now deprecated. Node versions >14 fails to compile this package.
https://sass-lang.com/blog/libsass-is-deprecated
Why Vite?
It's a 100x faster than vue-cli-service !!!.
Dev server starts up instantly.
https://vuejsdevelopers.com/2020/12/07/vite-vue-cli/
Vite provides native ES6 modules which the browser can load without a compilation step.
We cannot currently use Vite with vue9_components because it uses node-sass. Vite doesn't support node-sass.
Vite can build for production too. However, we can continue using webpack for production.
Proposal
Why drop node-sass?
node-sass is now deprecated. Node versions >14 fails to compile this package.
https://sass-lang.com/blog/libsass-is-deprecated
Why Vite?
It's a 100x faster than vue-cli-service !!!.
Dev server starts up instantly.
https://vuejsdevelopers.com/2020/12/07/vite-vue-cli/
Vite provides native ES6 modules which the browser can load without a compilation step.
We cannot currently use Vite with vue9_components because it uses node-sass. Vite doesn't support node-sass.
Vite can build for production too. However, we can continue using webpack for production.