From 850c4948127c50f6ba0af35285b0be4224d9e69f Mon Sep 17 00:00:00 2001 From: lee-sihun Date: Mon, 22 Apr 2024 15:15:22 +0900 Subject: [PATCH] https://github.com/contentlayerdev/contentlayer/issues/129 --- next.config.js | 17 +++++++++++++++++ next.config.mjs | 17 ----------------- 2 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 next.config.js delete mode 100644 next.config.mjs diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..247fd00 --- /dev/null +++ b/next.config.js @@ -0,0 +1,17 @@ +const { withContentlayer } = require("next-contentlayer"); + +const nextConfig = { + reactStrictMode: true, + swcMinify: true, + images: { + remotePatterns: [ + { + protocol: "https", + hostname: "lh3.googleusercontent.com", + port: "", + }, + ], + }, +}; + +module.exports = withContentlayer(nextConfig); diff --git a/next.config.mjs b/next.config.mjs deleted file mode 100644 index a378b33..0000000 --- a/next.config.mjs +++ /dev/null @@ -1,17 +0,0 @@ -import { withContentlayer } from "next-contentlayer"; - -const options = { - reactStrictMode: true, - swcMinify: true, - images: { - remotePatterns: [ - { - protocol: 'https', - hostname: 'lh3.googleusercontent.com', - port: '', - }, - ], - }, -}; - -export default withContentlayer(options);