Skip to content

Commit a06ab25

Browse files
committed
add globals to build task
1 parent dc7c282 commit a06ab25

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rollup.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ export default {
1010
name: 'ReactTVNavigation',
1111
file: 'dist/bundle.umd.js',
1212
format: 'umd',
13+
globals: {
14+
react: 'React',
15+
'react-tv': 'react-tv',
16+
}
1317
},
1418
plugins: [
1519
flow(),
@@ -25,5 +29,5 @@ export default {
2529
}),
2630
uglify(),
2731
],
28-
external: ['react', 'react-tv'],
32+
external: ['react', 'react-tv']
2933
};

0 commit comments

Comments
 (0)