Feature/use vite with swc (#400)

* Add vite-env.d.ts

Should have been added with bc99728dcd

* Update readmes

* Use vites SWC plugin
This commit is contained in:
schroda
2023-08-11 17:30:22 +02:00
committed by GitHub
parent a3d36bdb17
commit 31dca431e4
6 changed files with 91 additions and 331 deletions

View File

@@ -6,10 +6,10 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import viteTsconfigPaths from 'vite-tsconfig-paths';
import path from 'path';
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
import viteTsconfigPaths from 'vite-tsconfig-paths';
export default defineConfig(() => ({
build: {