refactor: theme from lovable

This commit is contained in:
2026-05-01 13:45:28 -04:00
parent ace21f0467
commit 567d96cd07
316 changed files with 16572 additions and 162 deletions

View File

@@ -0,0 +1,21 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
import path from 'path';
export default defineConfig({
base: '/wp-content/themes/cascapedia-st-jules/assets/dist/',
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './assets/src'),
},
},
build: {
manifest: true,
outDir: 'assets/dist',
emptyOutDir: true,
rollupOptions: {
input: 'assets/src/main.tsx',
},
},
});