🔨 support for umd build (#1185)
Co-authored-by: gongshun <gongshun@gridsum.com>
This commit is contained in:
parent
9591a0d126
commit
bc71e1eaed
|
|
@ -2,6 +2,10 @@ export default {
|
||||||
target: 'browser',
|
target: 'browser',
|
||||||
esm: 'babel',
|
esm: 'babel',
|
||||||
cjs: 'babel',
|
cjs: 'babel',
|
||||||
|
umd: {
|
||||||
|
minFile: true,
|
||||||
|
sourcemap: true,
|
||||||
|
},
|
||||||
runtimeHelpers: true,
|
runtimeHelpers: true,
|
||||||
extraBabelPlugins: [
|
extraBabelPlugins: [
|
||||||
[
|
[
|
||||||
|
|
|
||||||
0
typings/custom-typings.d.ts
vendored
0
typings/custom-typings.d.ts
vendored
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
|
|
@ -1 +0,0 @@
|
||||||
// / <reference path="custom-typings.d.ts" />
|
|
||||||
Loading…
Reference in New Issue
Block a user