Skip to content

Feature Request : drop node-sass, adopt vite as build tool for development #21

Description

@pratik-kanthi

Proposal

  1. Drop node-sass as the sass loader. ( this enables point 2 )
  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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions