Skip to content
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

Fix Sass deprecation warnings #1121

Open
pdp2121 opened this issue Jan 16, 2025 · 1 comment
Open

Fix Sass deprecation warnings #1121

pdp2121 opened this issue Jan 16, 2025 · 1 comment
Labels
dependencies Pull requests that update a dependency file

Comments

@pdp2121
Copy link
Collaborator

pdp2121 commented Jan 16, 2025

legacy would be deprecated in Sass 2.0.0. We should use modern-compiler instead.
Reference: https://vite.dev/config/shared-options#css-preprocessoroptions

After the fix, build should succeed without these warnings:
`Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api`

@pdp2121 pdp2121 added the dependencies Pull requests that update a dependency file label Jan 16, 2025
@endz80513
Copy link

Record<string, object>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants