Skip to content

Commit 74aa453

Browse files
author
Clauderic Demers
committed
Add prop-types to externals for UMD build
1 parent a4bd05d commit 74aa453

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nwb.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ module.exports = {
55
umd: {
66
global: 'VirtualList',
77
externals: {
8-
react: 'React'
8+
react: 'React',
9+
'prop-types': 'PropTypes',
910
}
1011
}
1112
},

0 commit comments

Comments
 (0)