Skip to content

Commit

Permalink
sourcemap
Browse files Browse the repository at this point in the history
  • Loading branch information
zeyarpaing committed Nov 26, 2024
1 parent 4ce2cc3 commit 789094a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vanilla/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import dts from 'vite-plugin-dts';
export default defineConfig(({ mode }) => {
return {
esbuild: {
sourcemap: 'inline',
drop: mode === 'development' ? [] : ['console', 'debugger'],
sourcemap: 'inline',
},
optimizeDeps: {
include: ['penpal', 'uuid', 'zod'],
},
build: {
emptyOutDir: false,
emptyOutDir: mode === 'production',
copyPublicDir: false,
lib: {
name: 'OpenPay',
Expand Down

0 comments on commit 789094a

Please sign in to comment.