aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/with-react-native-web/apps/web/next.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-react-native-web/apps/web/next.config.js')
-rw-r--r--examples/with-react-native-web/apps/web/next.config.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/examples/with-react-native-web/apps/web/next.config.js b/examples/with-react-native-web/apps/web/next.config.js
deleted file mode 100644
index 71ca107..0000000
--- a/examples/with-react-native-web/apps/web/next.config.js
+++ /dev/null
@@ -1,18 +0,0 @@
-module.exports = {
- reactStrictMode: true,
- 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.jsx",
- ".web.ts",
- ".web.tsx",
- ...config.resolve.extensions,
- ];
- return config;
- },
-};