-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't add less as dependency #826
Comments
It's same to sass. |
The |
@underfin we have a similar issue but with server side rendering package which actually should be part of dependencies because it will be used in release while devDependencies like linter, less, sass won't. Does it mean that meaning of dependencies shifted a bit for Vite and it should contain only what is going to be on the client side? |
If you don't want this behavior, you can add them into |
How to support |
Describe the bug
I use vite generate a project,Everything is fun after i install less as a dependency.
System Info
vite
version: 1.0.0-rc.4vue
version (fromyarn.lock
orpackage-lock.json
) 3.0.0-rc.12@vue/compiler-sfc
version 3.0.0-rc.12Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.Graceful-fs is a optionalDependency of Less
The text was updated successfully, but these errors were encountered: