Commit fec2177
committed
Silence Sass legacy JS API deprecation warning
Suppress the "The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0" warning by configuring rollup-plugin-postcss to use the new silenceDeprecations option for sass.
This change updates the rollup config to pass silenceDeprecations: ['legacy-js-api'] to the sass preprocessor, preventing the deprecation warnings during build.1 parent 31e0f9a commit fec2177
1 file changed
Lines changed: 10 additions & 2 deletions
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
162 | 166 | | |
163 | 167 | | |
164 | 168 | | |
| |||
354 | 358 | | |
355 | 359 | | |
356 | 360 | | |
357 | | - | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
358 | 366 | | |
359 | 367 | | |
360 | 368 | | |
0 commit comments