Private
Public Access
1
0

chg: dev: replace webpack w/ vite & remove old, legacy jQuery from the code #4

This commit is contained in:
2026-04-10 21:06:22 +02:00
parent d186a96f0d
commit c660c13ea2
21 changed files with 326 additions and 12177 deletions

27
vite.config.js Normal file
View File

@@ -0,0 +1,27 @@
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'],
},
},
},
});