diff --git a/build/packages/config.js b/build/packages/config.js index 5ec4684d..2fb53bfe 100644 --- a/build/packages/config.js +++ b/build/packages/config.js @@ -37,7 +37,7 @@ function genConfig(opts) { objectAssign: 'Object.assign', }), ], - external: opts.external, + external(id) { return !/^[\.\/]/.test(id) }, }, output: { file: opts.file,