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

Webpack 5 Compiled with problems #839

Open
Orest983 opened this issue Jan 17, 2024 · 0 comments · May be fixed by #844
Open

Webpack 5 Compiled with problems #839

Orest983 opened this issue Jan 17, 2024 · 0 comments · May be fixed by #844

Comments

@Orest983
Copy link

Issue description:

import '../node_modules/tiny-slider/src/tiny-slider.scss';
triggers Webpack error

Compiled with problems:
×
WARNING in ./node_modules/tiny-slider/src/tiny-slider.scss (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/tiny-slider/src/tiny-slider.scss)
Module Warning (from ./node_modules/sass-loader/dist/cjs.js):
Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(100% * $count, $perpage) or calc(100% * $count / $perpage)

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

node_modules\tiny-slider\src\tiny-slider.scss 124:13 root stylesheet
WARNING in ./node_modules/tiny-slider/src/tiny-slider.scss (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/tiny-slider/src/tiny-slider.scss)
Module Warning (from ./node_modules/sass-loader/dist/cjs.js):
Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

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

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

node_modules\tiny-slider\src\tiny-slider.scss 136:15 root stylesheet

Demo link/slider setting:

Tiny-slider version: Version-2.9.4
Browser name && version:
OS name && version:

@devansh016 devansh016 linked a pull request Jul 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant