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

Address Build Deprecation Warnings for Dashboard #35

Open
michaeljmarshall opened this issue Jan 19, 2022 · 0 comments
Open

Address Build Deprecation Warnings for Dashboard #35

michaeljmarshall opened this issue Jan 19, 2022 · 0 comments

Comments

@michaeljmarshall
Copy link
Member

With the switch to sass in #34, there are many deprecation warnings when you run npm run build-standalone. We should resolve them. Here is a sample:

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

Recommendation: math.div($grid-gutter-width, 2) or calc($grid-gutter-width / 2)

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

    ╷
669 │ $card-group-margin:                 ($grid-gutter-width / 2) !default;
    │                                      ^^^^^^^^^^^^^^^^^^^^^^
    ╵
    node_modules/bootstrap/scss/_variables.scss 669:38            @import
    src/vuestic-theme/vuestic-sass/resources/resources.scss 22:9  @import
    src/sass/shared.scss 18:9                                     @import
    stdin 1:9                                                     root stylesheet

The easiest way to see these is to run the build command.

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