Skip to content

Commit

Permalink
build: preserve symbol names in bundle output
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <[email protected]>
  • Loading branch information
unicornware committed Feb 16, 2023
1 parent 51c88a9 commit bca9aa1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ import pkg from './package.json' assert { type: 'json' }
const config: Config = defineBuildConfig({
entries: [
{ ignore: ['cli.ts'] },
{ bundle: true, minify: true, platform: 'node', source: 'src/cli.ts' }
{
bundle: true,
keepNames: true,
minify: true,
platform: 'node',
source: 'src/cli.ts'
}
],
sourcemap: true,
sourcesContent: false,
Expand Down

0 comments on commit bca9aa1

Please sign in to comment.