Update webpack React externals [Fix #11, Fix #8]

release
Etienne Lemay 2016-09-29 20:55:42 -04:00
parent b3498a0766
commit 7028383509
1 changed files with 6 additions and 1 deletions

View File

@ -10,7 +10,12 @@ module.exports = {
}, },
externals: [{ externals: [{
'react': 'React', 'react': {
root: 'React',
commonjs2: 'react',
commonjs: 'react',
amd: 'react',
},
}], }],
module: { module: {