Skip to content

Commit

Permalink
feat: enable externals.trace by default
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jan 12, 2021
1 parent 49c68f5 commit 303debd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rollup/plugins/externals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function externals (opts: NodeExternalsOptions): Plugin {
}
},
async buildEnd () {
if (opts.trace) {
if (opts.trace !== false) {
const { fileList } = await nodeFileTrace(Object.values(resolvedExternals), opts.traceOptions)
await Promise.all(fileList.map(async (file) => {
if (!file.startsWith('node_modules')) {
Expand Down

0 comments on commit 303debd

Please sign in to comment.