exclude dependencies from build

This commit is contained in:
Philipp Kühn
2018-08-26 08:31:43 +02:00
parent d903dacd0a
commit 0826696e0d

View File

@@ -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,