generateur_v3/frontend/vite.config.js
Kilton937342 4941b5a154 tests
2023-02-22 12:43:39 +01:00

24 lines
388 B
JavaScript

import { sveltekit } from '@sveltejs/kit/vite';
/** @type {import('vite').UserConfig} */
const config = {
plugins: [sveltekit()],
css: {
preprocessorOptions: {
scss: {
additionalData: '@use "src/variables.scss" as *;'
}
}
},
test: {
globals: true,
environment: 'jsdom',
css: true,
},
optimizeDeps: { exclude: ['svelte-navigator'] }
};
export default config;