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(build): Fix sass-related deprecation notice #1578

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

lordrip
Copy link
Member

@lordrip lordrip commented Oct 16, 2024

Context

Kaoto uses vite to bundle the project in dev mode using the legacy sass API.

With the upcoming sass 2.0, some APIs were marked for removal and show warnings.

This commit follows the vite
docs
and sets the css preprocessor config to modern-compiler, in addition to that, replaces the sass package with sass-embedded

Kaoto uses `vite` for bundling the project in dev mode using the
`legacy` sass API.

With the upcoming `sass` 2.0, some APIs were marked for removal and
shows warnings in the meantime.

This commit follows the [vite
docs](https://vite.dev/config/shared-options#css-preprocessoroptions)
and sets the css preprocessor config to `modern-compiler`, in addition
to that, replaces the `sass` package with `sass-embedded`
Copy link

sonarcloud bot commented Oct 16, 2024

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@6823d5a). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1578   +/-   ##
=======================================
  Coverage        ?   80.09%           
  Complexity      ?      272           
=======================================
  Files           ?      278           
  Lines           ?     7882           
  Branches        ?     1542           
=======================================
  Hits            ?     6313           
  Misses          ?     1460           
  Partials        ?      109           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lordrip lordrip merged commit a8a532d into KaotoIO:main Oct 16, 2024
11 of 12 checks passed
@lordrip lordrip deleted the fix/scss-deprecation-warning branch October 16, 2024 12:41
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 this pull request may close these issues.

2 participants