diff --git a/examples/prebuilt-react-integration/vite.config.js b/examples/prebuilt-react-integration/vite.config.js index 13ec4d72f9..14d7d98e40 100644 --- a/examples/prebuilt-react-integration/vite.config.js +++ b/examples/prebuilt-react-integration/vite.config.js @@ -4,13 +4,6 @@ import react from '@vitejs/plugin-react-swc'; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], - build: { - rollupOptions: { - output: { - experimentalMinChunkSize: 200, - }, - }, - }, define: { 'process.env': {}, }, diff --git a/scripts/build.js b/scripts/build.js index f830439b4a..a851b44e9a 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -22,7 +22,7 @@ async function main() { target: 'es6', external, tsconfig: 'tsconfig.json', - minify: false, + minify: true, sourcemap: true, }; try {