24 lines
558 B
JavaScript
24 lines
558 B
JavaScript
import react from '@vitejs/plugin-react';
|
|
import { defineConfig } from 'vite';
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
css: {
|
|
devSourcemap: true, // https://github.com/vitejs/vite/issues/8656#issuecomment-1159730991
|
|
preprocessorOptions: {
|
|
scss: {
|
|
quietDeps: true, // Unix
|
|
silenceDeprecations: [
|
|
'color-functions',
|
|
'global-builtin',
|
|
'import',
|
|
'legacy-js-api',
|
|
'abs-percent',
|
|
'if-function',
|
|
],
|
|
},
|
|
},
|
|
},
|
|
});
|