fix(rollup): use named export

This commit is contained in:
moklick
2019-10-08 23:51:03 +02:00
parent 722ecd75a8
commit 13391afc06

View File

@@ -44,6 +44,7 @@ export default [{
file: pkg.browser,
format: 'umd',
sourcemap: isProd,
exports: 'named',
globals: {
react: 'React'
}
@@ -55,7 +56,7 @@ export default [{
onwarn,
output: {
file: pkg.module,
format: 'esm',
format: 'esm'
},
plugins: [
bundleSize(),