Skip to content

Commit

Permalink
fix(router-plugin): do not minify code in compiler (#2366)
Browse files Browse the repository at this point in the history
fixes #2361
  • Loading branch information
schiller-manuel authored Sep 18, 2024
1 parent a9017a9 commit d0a5638
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/router-plugin/src/core/code-splitter/compilers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ export function compileCodeSplitReferenceRoute(opts: ParseAstOptions) {

return generate(ast, {
sourceMaps: true,
minified: process.env.NODE_ENV === 'production',
})
}

Expand Down Expand Up @@ -451,7 +450,6 @@ export function compileCodeSplitVirtualRoute(opts: ParseAstOptions) {

return generate(ast, {
sourceMaps: true,
minified: process.env.NODE_ENV === 'production',
})
}

Expand Down

0 comments on commit d0a5638

Please sign in to comment.