optimize repo

This commit is contained in:
Rene Haas
2022-10-28 16:33:01 +02:00
parent f76870b1d9
commit febeb126f2
12 changed files with 139 additions and 65 deletions
@@ -1,6 +1,6 @@
import { resolve } from 'node:path';
import { fileURLToPath, URL } from 'node:url';
import { defineConfig } from 'vite';
import { esbuildResolve } from 'rollup-plugin-esbuild-resolve';
import react from '@vitejs/plugin-react';
export default defineConfig({
@@ -21,10 +21,5 @@ export default defineConfig({
},
},
},
resolve: {
alias: {
'~': fileURLToPath(new URL('./src', import.meta.url)),
},
},
plugins: [react({ jsxRuntime: 'classic' })],
plugins: [esbuildResolve(), react({ jsxRuntime: 'classic' })],
});