diff --git a/examples/prebuilt-react-integration/vite.config.js b/examples/prebuilt-react-integration/vite.config.js index 14d7d98e40..13ec4d72f9 100644 --- a/examples/prebuilt-react-integration/vite.config.js +++ b/examples/prebuilt-react-integration/vite.config.js @@ -4,6 +4,13 @@ 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 a851b44e9a..f830439b4a 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -22,7 +22,7 @@ async function main() { target: 'es6', external, tsconfig: 'tsconfig.json', - minify: true, + minify: false, sourcemap: true, }; try {