From 19e6542d273a9595c05b8214004da6be0f734793 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 12 Jan 2021 16:58:05 +0100 Subject: [PATCH] feat: enable externals.trace by default --- packages/nitro/src/rollup/plugins/externals.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nitro/src/rollup/plugins/externals.ts b/packages/nitro/src/rollup/plugins/externals.ts index 71aefa4ca8..be032b389b 100644 --- a/packages/nitro/src/rollup/plugins/externals.ts +++ b/packages/nitro/src/rollup/plugins/externals.ts @@ -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')) {