8000 fix: disable sourcemap minify for dev · nitrojs/nitro@e38f358 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit e38f358

Browse files
committed
fix: disable sourcemap minify for dev
1 parent 5ffaa37 commit e38f358

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rollup/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ export const plugins = [
477477
// Minify sourcemaps
478478
if (
479479
nitro.options.sourceMap &&
480+
!nitro.options.dev &&
480481
nitro.options.experimental.sourcemapMinify !== false
481482
) {
482483
rollupConfig.plugins.push(sourcemapMininify());

0 commit comments

Comments
 (0)
0