Skip to content
This repository was archived by the owner on Apr 5, 2022. It is now read-only.

Commit 0036a2d

Browse files
committed
Change externals to umd so that it works with requirejs too
1 parent f9814f3 commit 0036a2d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

webpack.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ var config = {
1818
libraryTarget: 'umd'
1919
},
2020
externals: {
21-
'react': 'React',
22-
'react-dom': 'ReactDOM'
21+
'react': 'umd react'
2322
},
2423

2524
// quiet the log output from the ExtractTextPlugin

0 commit comments

Comments
 (0)