Browse Source

Add support building react-native app

v6-dev
Arturo Guzman 8 years ago
committed by Arturo Guzman
parent
commit
5d7d3a7a6d
  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.extensions.add('.jsx');
config.resolve.alias.set('react-native', 'react-native-web');
config.resolveLoader.modules.add(MODULES);
config.externals({
'react/addons': true,

Loading…
Cancel
Save