Skip to content

Commit 9b9efe2

Browse files
committed
Update Rollup config to reference new external/global depdencies
1 parent d1d2c15 commit 9b9efe2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rollup.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ const config = {
2121
],
2222
external: [
2323
'react',
24+
'react-dom',
2425
],
2526
globals: {
2627
'react': 'React',
28+
'react-dom': 'ReactDOM',
2729
},
2830
dest: './index.js',
2931
banner: `/*! ${pkg.name} v${pkg.version} | (c) ${new Date().getFullYear()} Ryan Hefner | ${pkg.license} License | https://github.com/${pkg.repository} !*/`,

0 commit comments

Comments
 (0)