Skip to content

Commit 50fd894

Browse files
author
stefan.hausmann
committed
added missing export 'isContextConsumer' in rollup config
1 parent 9c9e002 commit 50fd894

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

rollup.config.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import nodeResolve from 'rollup-plugin-node-resolve'
22
import babel from 'rollup-plugin-babel'
33
import replace from 'rollup-plugin-replace'
44
import commonjs from 'rollup-plugin-commonjs'
5-
import {uglify} from 'rollup-plugin-uglify'
5+
import { uglify } from 'rollup-plugin-uglify'
66
import pkg from './package.json'
77

88
const env = process.env.NODE_ENV
@@ -22,14 +22,17 @@ const config = {
2222
nodeResolve(),
2323
babel({
2424
exclude: '**/node_modules/**',
25-
runtimeHelpers: true,
25+
runtimeHelpers: true
2626
}),
2727
replace({
2828
'process.env.NODE_ENV': JSON.stringify(env)
2929
}),
3030
commonjs({
3131
namedExports: {
32-
'node_modules/react-is/index.js': ['isValidElementType'],
32+
'node_modules/react-is/index.js': [
33+
'isValidElementType',
34+
'isContextConsumer'
35+
]
3336
}
3437
})
3538
]

0 commit comments

Comments
 (0)