Skip to content

Commit

Permalink
fix: remove minify
Browse files Browse the repository at this point in the history
  • Loading branch information
raviteja83 committed Mar 27, 2024
1 parent 322387d commit 5d099bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions examples/prebuilt-react-integration/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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': {},
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function main() {
target: 'es6',
external,
tsconfig: 'tsconfig.json',
minify: true,
minify: false,
sourcemap: true,
};
try {
Expand Down

0 comments on commit 5d099bd

Please sign in to comment.