brainatlas.brain.riken.jp/vite.config.ts

12 lines
356 B
TypeScript
Raw Permalink Normal View History

2023-07-28 22:05:26 +09:00
import react from '@vitejs/plugin-react-swc';
import { defineConfig } from 'vite';
import nodePolyfills from 'vite-plugin-node-stdlib-browser';
import pluginRewriteAll from 'vite-plugin-rewrite-all';
// https://vitejs.dev/config/
export default defineConfig(({ mode }) => {
return {
plugins: [react(), nodePolyfills(), pluginRewriteAll()],
};
});