mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
feat: enable externals.trace by default
This commit is contained in:
parent
8a8840c970
commit
19e6542d27
@ -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')) {
|
||||
|
Loading…
Reference in New Issue
Block a user