This commit is contained in:
23
webseite-react-php/react-app/vite.config.js
Normal file
23
webseite-react-php/react-app/vite.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
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',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user