diff --git a/vite.config.ts b/vite.config.ts index 9fe9077..2d2d886 100755 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,11 +1,12 @@ import react from '@vitejs/plugin-react-swc'; import { defineConfig } from 'vite'; +import removeConsole from 'vite-plugin-remove-console'; import svgr from 'vite-plugin-svgr'; // https://vitejs.dev/config/ /** @type {import('vite').UserConfig} */ export default defineConfig({ - plugins: [react(), svgr()], + plugins: [react(), svgr(), removeConsole()], resolve: { alias: [{ find: '@src', replacement: '/src/' }], },