exclude dependencies from build
This commit is contained in:
@@ -37,7 +37,7 @@ function genConfig(opts) {
|
|||||||
objectAssign: 'Object.assign',
|
objectAssign: 'Object.assign',
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
external: opts.external,
|
external(id) { return !/^[\.\/]/.test(id) },
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
file: opts.file,
|
file: opts.file,
|
||||||
|
|||||||
Reference in New Issue
Block a user