syntaxe correction
This commit is contained in:
@@ -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()],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user