Skip to content

Commit

Permalink
$mol_build: + sourcemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
jin committed Feb 4, 2024
1 parent 8bae827 commit e496b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ namespace $ {
if( errors.length ) $mol_fail_hidden( new $mol_error_mix( `Build fail ${path}`, ... errors ) )

if( bundle === 'node' ) {
this.$.$mol_exec( this.root().path() , 'node' , '--trace-uncaught', target.relate( this.root() ) )
this.$.$mol_exec( this.root().path() , 'node' , '--enable-source-maps', '--trace-uncaught', target.relate( this.root() ) )
}

return [ target , targetMap ]
Expand Down

0 comments on commit e496b65

Please sign in to comment.