Fix Dart Sass legacy JS API deprecation warning

- Upgrade sass from 1.99.0 to 1.101.0 (latest)
- Add css.preprocessorOptions.scss.silenceDeprecations to suppress
  the legacy-js-api deprecation warning
- Remove extraneous package-lock.json (using bun)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-06-15 23:08:03 +03:00
parent 38894d05d3
commit 6ff218e0f3
3 changed files with 13 additions and 8 deletions

View File

@@ -7,4 +7,11 @@ export default defineConfig({
port: 8089,
allowedHosts: ["runosaari.fi", "www.runosaari.fi"],
},
css: {
preprocessorOptions: {
scss: {
silenceDeprecations: ["legacy-js-api"],
},
},
},
});