-
-
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
Sass imports ignore package.sass if package.exports exists #11947
Comments
When upgrading Nuxt 3 to the latest version, it also upgraded its dependency: @KaelWD do I have to wait for this issue/bug to be resolved or is there a workaround? |
You can use |
@KaelWD thanks. Now it looks like I have another (very similar) problem with
https://codesandbox.io/p/github/juretopolak/nuxt3-tailwind-vuetify/nuxt-update?file=%2FREADME.md I just can't get over all the errors with this update :) |
Following the usual package resolution, mainFields will always not be used if the exports key exists. It was a bug before when Vite does the other way. I guess we need #7817 to fix this, maybe we can go with it. |
Any update on this? |
Describe the bug
Node package with
import 'vuetify'
in js loadsvuetify/lib/framework.mjs
@use 'vuetify'
in sass should loadvuetify/lib/styles/main.sass
, but instead throws "Failed to resolve entry for package"This is caused by #11595, would be helped by #7817
Reproduction
https://stackblitz.com/edit/vitejs-vite-jdslxa?file=src%2Fstyle.scss
Steps to reproduce
No response
System Info
Used Package Manager
npm
Logs
Click to expand!
Validations
The text was updated successfully, but these errors were encountered: