[change] prepare for react-dom@15.4.0

Don't depend directly on the 'react-dom' module as it will be prebuilt
in 15.4. Leave server-side rendering to 'react-dom/server'.
This commit is contained in:
Nicolas Gallagher
2016-11-22 14:28:30 -08:00
parent 8dd39c681c
commit d65c92eea9
12 changed files with 71 additions and 60 deletions

View File

@@ -8,6 +8,16 @@ module.exports = {
entry: {
main: DIST_DIRECTORY
},
externals: [
{
react: {
root: 'React',
commonjs2: 'react',
commonjs: 'react',
amd: 'react'
}
}
],
output: {
filename: 'ReactNative.js',
library: 'ReactNative',