- 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>
18 lines
345 B
TypeScript
18 lines
345 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
preview: {
|
|
port: 8089,
|
|
allowedHosts: ["runosaari.fi", "www.runosaari.fi"],
|
|
},
|
|
css: {
|
|
preprocessorOptions: {
|
|
scss: {
|
|
silenceDeprecations: ["legacy-js-api"],
|
|
},
|
|
},
|
|
},
|
|
});
|