🔨 support for umd build (#1185)

Co-authored-by: gongshun <gongshun@gridsum.com>
This commit is contained in:
gongshun 2021-01-05 20:53:52 +08:00 committed by GitHub
parent 9591a0d126
commit bc71e1eaed
3 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,10 @@ export default {
target: 'browser',
esm: 'babel',
cjs: 'babel',
umd: {
minFile: true,
sourcemap: true,
},
runtimeHelpers: true,
extraBabelPlugins: [
[

View File

1
typings/index.d.ts vendored
View File

@ -1 +0,0 @@
// / <reference path="custom-typings.d.ts" />