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