Browse Source

Merge pull request #88 from guzart/patch-1

Add support building react-native app
v6-dev
Eli Perelman 8 years ago
committed by GitHub
parent
commit
da792871ac
  1. 1
      packages/neutrino-preset-react/index.js

1
packages/neutrino-preset-react/index.js

@ -20,6 +20,7 @@ module.exports = (neutrino) => {
config.resolve.modules.add(MODULES); config.resolve.modules.add(MODULES);
config.resolve.extensions.add('.jsx'); config.resolve.extensions.add('.jsx');
config.resolve.alias.set('react-native', 'react-native-web');
config.resolveLoader.modules.add(MODULES); config.resolveLoader.modules.add(MODULES);
config.externals({ config.externals({
'react/addons': true, 'react/addons': true,

Loading…
Cancel
Save