Skip to content

Commit

Permalink
fix: disable sourcemap minify for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 15, 2023
1 parent 5ffaa37 commit e38f358
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rollup/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ export const plugins = [
// Minify sourcemaps
if (
nitro.options.sourceMap &&
!nitro.options.dev &&
nitro.options.experimental.sourcemapMinify !== false
) {
rollupConfig.plugins.push(sourcemapMininify());
Expand Down

0 comments on commit e38f358

Please sign in to comment.