syntaxe correction

This commit is contained in:
2026-04-21 06:04:31 +02:00
parent c23c1e0b5f
commit 21630c1c01

View File

@@ -7,7 +7,7 @@ import { resolve } from 'path';
const host = process.env.TAURI_DEV_HOST;
// https://vite.dev/config/
export default defineConfig(async () => ({
export default defineConfig(() => ({
envPrefix: ['VITE_', 'TAURI_ENV_*'],
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
@@ -57,11 +57,9 @@ export default defineConfig(async () => ({
preprocessorOptions: {
scss: {
quietDeps: true,
//silenceDeprecations: ["import", "color-functions", "global-builtin"] as const,
silenceDeprecations: ["import", "color-functions", "global-builtin",],
verbose: false,
//api: 'modern',
//api: 'modern-compiler',
api: 'modern',
importers: [new NodePackageImporter()],
}
}