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
Open

Webpack 5 Compiled with problems #839

Orest983 opened this issue Jan 17, 2024 · 0 comments

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:

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

No branches or pull requests

1 participant