From a9bdadb11412a2b3b3f1d901379b45c5cce6546d Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Mon, 20 Nov 2023 16:57:30 -0800 Subject: [PATCH] updates --- app/(post)/2020/2019-in-review/page.mdx | 2 -- next.config.js | 30 ++++++++++++++++++++----- pnpm-lock.yaml | 8 +------ 3 files changed, 26 insertions(+), 14 deletions(-) diff --git a/app/(post)/2020/2019-in-review/page.mdx b/app/(post)/2020/2019-in-review/page.mdx index 7886d254..b60577b7 100644 --- a/app/(post)/2020/2019-in-review/page.mdx +++ b/app/(post)/2020/2019-in-review/page.mdx @@ -207,8 +207,6 @@ To achieve platform fidelity, it's obvious one must have access to the platform It has nothing to do with performance or JS and HTML, and everything to do with being altogether unable to deliver on the standards of what a *real* app can do on the platform^. - - A React Native app can achieve full platform fidelity (it can exhibit great performance with [solid engineering](https://blog.discordapp.com/how-discord-achieves-native-ios-performance-with-react-native-390c84dcd502) while being unconstrained in API capabilities). Crucially, like Electron, it offers a cohesive development experience, a universal programming language, a shared module and component system, seamless updates and faster deployments, with both ~~macOS~~ iOS and ~~[Windows](https://www.theverge.com/2019/6/24/18715202/microsoft-bill-gates-android-biggest-mistake-interview)~~ Android support to boot. diff --git a/next.config.js b/next.config.js index baa75152..9dcc9e8e 100644 --- a/next.config.js +++ b/next.config.js @@ -8,11 +8,31 @@ module.exports = withMDX({ swcMinify: true, reactStrictMode: true, images: { - domains: [ - "pbs.twimg.com", - "abs.twimg.com", - "m.media-amazon.com", - "images-na.ssl-images-amazon.com", + remotePatterns: [ + { + protocol: "https", + hostname: "pbs.twimg.com", + port: "", + pathname: "/**", + }, + { + protocol: "https", + hostname: "abs.twimg.com", + port: "", + pathname: "/**", + }, + { + protocol: "https", + hostname: "m.media-amazon.com", + port: "", + pathname: "/**", + }, + { + protocol: "https", + hostname: "images-na.ssl-images-amazon.com", + port: "", + pathname: "/**", + }, ], }, headers() { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b7f78669..e6f3165d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -327,12 +327,6 @@ packages: resolution: {integrity: sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg==} dev: true - /@swc/helpers@0.5.1: - resolution: {integrity: sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==} - dependencies: - tslib: 2.5.0 - dev: false - /@swc/helpers@0.5.2: resolution: {integrity: sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==} dependencies: @@ -2289,7 +2283,7 @@ packages: react: '>= 18.0.0' react-dom: '>= 18.0.0' dependencies: - '@swc/helpers': 0.5.1 + '@swc/helpers': 0.5.2 clsx: 1.2.1 date-fns: 2.30.0 react: 18.2.0