From 94071d7ce16c56641d67d488e2bac6be84ffe731 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 3 Nov 2023 21:17:06 +0800 Subject: chore: delete useless files --- examples/with-react-native-web/apps/web/next.config.js | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 examples/with-react-native-web/apps/web/next.config.js (limited to 'examples/with-react-native-web/apps/web/next.config.js') 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; - }, -}; -- cgit v1.2.3-70-g09d2