28 lines
594 B
JavaScript
28 lines
594 B
JavaScript
|
|
import { defineConfig } from 'vite';
|
||
|
|
import react from '@vitejs/plugin-react';
|
||
|
|
import symfonyPlugin from 'vite-plugin-symfony';
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [
|
||
|
|
react(),
|
||
|
|
symfonyPlugin({ refresh: true }),
|
||
|
|
],
|
||
|
|
build: {
|
||
|
|
rollupOptions: {
|
||
|
|
input: {
|
||
|
|
mineseeker: './assets/js/app.jsx',
|
||
|
|
mineseekerStyle: './assets/css/style.mineseeker.scss',
|
||
|
|
homeStyle: './assets/css/style.layout.scss',
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
css: {
|
||
|
|
preprocessorOptions: {
|
||
|
|
scss: {
|
||
|
|
api: 'modern',
|
||
|
|
silenceDeprecations: ['import'],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|