Skip to content

Commit

Permalink
lint-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Mar 1, 2020
1 parent d6ae86a commit 1b7e788
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/with-react-native-web/next.config.js
@@ -1,16 +1,16 @@
module.exports = {
webpack: (config) => {
webpack: config => {
config.resolve.alias = {
...(config.resolve.alias || {}),
// Transform all direct `react-native` imports to `react-native-web`
'react-native$': 'react-native-web',
}
config.resolve.extensions = [
".web.js",
".web.ts",
".web.tsx",
'.web.js',
'.web.ts',
'.web.tsx',
...config.resolve.extensions,
];
]
return config
},
}

2 comments on commit 1b7e788

@MoOx
Copy link
Contributor

@MoOx MoOx commented on 1b7e788 Mar 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oopsy :) Thanks!

@Timer
Copy link
Member Author

@Timer Timer commented on 1b7e788 Mar 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

np! thanks for sending this fix

Please sign in to comment.