Skip to content

Commit

Permalink
Quickfix for react-native
Browse files Browse the repository at this point in the history
Based on:
facebook@e0037c7
(see: facebook#26)
  • Loading branch information
heracek committed Sep 16, 2015
1 parent 898eaab commit d306307
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var babelOpts = {
optional: ['runtime'],
plugins: [babelPluginDEV, babelPluginModules],
_moduleMap: objectAssign({}, require('fbjs/module-map'), {
'React': 'react',
'React': 'react-native',
'ReactDOM': 'react-dom',
'StaticContainer.react': 'react-static-container'
})
Expand All @@ -62,6 +62,7 @@ var buildDist = function(opts) {
debug: opts.debug,
externals: {
'react': 'React',
'react-native': 'React',
'react-dom': 'ReactDOM'
},
module: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"react-static-container": "^1.0.0-alpha.1"
},
"peerDependencies": {
"react": "^0.14.0-rc",
"react-native": "0.10.1",
"react-dom": "^0.14.0-rc"
},
"devDependencies": {
Expand Down

0 comments on commit d306307

Please sign in to comment.