File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import nodeResolve from 'rollup-plugin-node-resolve'
2
2
import babel from 'rollup-plugin-babel'
3
3
import replace from 'rollup-plugin-replace'
4
4
import commonjs from 'rollup-plugin-commonjs'
5
- import { uglify } from 'rollup-plugin-uglify'
5
+ import { uglify } from 'rollup-plugin-uglify'
6
6
import pkg from './package.json'
7
7
8
8
const env = process . env . NODE_ENV
@@ -22,14 +22,17 @@ const config = {
22
22
nodeResolve ( ) ,
23
23
babel ( {
24
24
exclude : '**/node_modules/**' ,
25
- runtimeHelpers : true ,
25
+ runtimeHelpers : true
26
26
} ) ,
27
27
replace ( {
28
28
'process.env.NODE_ENV' : JSON . stringify ( env )
29
29
} ) ,
30
30
commonjs ( {
31
31
namedExports : {
32
- 'node_modules/react-is/index.js' : [ 'isValidElementType' ] ,
32
+ 'node_modules/react-is/index.js' : [
33
+ 'isValidElementType' ,
34
+ 'isContextConsumer'
35
+ ]
33
36
}
34
37
} )
35
38
]
You can’t perform that action at this time.
0 commit comments