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

Deal with Dart Sass deprecations #360

Open
kamilmielnik opened this issue Oct 23, 2024 · 1 comment
Open

Deal with Dart Sass deprecations #360

kamilmielnik opened this issue Oct 23, 2024 · 1 comment

Comments

@kamilmielnik
Copy link
Owner

run npm run build


Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

./src/components/Board/components/Cell/Cell.module.scss
Deprecation Warning on line 19, column 30 of file:///home/kamil/projects/scrabble-solver/packages/scrabble-solver/src/components/Board/components/Cell/Cell.module.scss:19:30:
Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(100%, 3) or calc(100% / 3)

More info and automated migrator: https://sass-lang.com/d/slash-div

19 |         clip-path: polygon(0 (100% / 3), (100% / 3) (100% / 3), (100% / 3) (200% / 3), 0 (200% / 3));

Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

./src/components/Board/components/InputPrompt/InputPrompt.module.scss
Deprecation Warning on line 0, column 8 of file:///home/kamil/projects/scrabble-solver/packages/scrabble-solver/src/components/Board/components/InputPrompt/InputPrompt.module.scss:0:8:


More info and automated migrator: https://sass-lang.com/d/import

0 | @import 'styles/mixins';
@kamilmielnik
Copy link
Owner Author

vercel/next.js#67931

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant