diff --git a/packages/neutrino-preset-react/index.js b/packages/neutrino-preset-react/index.js index 2c0efc9..0467283 100644 --- a/packages/neutrino-preset-react/index.js +++ b/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,