Skip to content

Commit

Permalink
Add sourcemap option
Browse files Browse the repository at this point in the history
  • Loading branch information
fadihanna123 committed Sep 14, 2024
1 parent 398c2ef commit 1765d25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"sourceMap": false,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"checkJs": true,
Expand Down
3 changes: 3 additions & 0 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import react from '@vitejs/plugin-react';

export default defineConfig({
plugins: [react()],
build: {
sourcemap: false,
},
base: '/',
server: {
port: 3000,
Expand Down

0 comments on commit 1765d25

Please sign in to comment.