From 94f2634e5638327d0d6f795ec6ddd00cc42bb9ab Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Thu, 9 Feb 2023 15:33:39 +0500 Subject: [PATCH] next config js -> mjs --- next.config.js | 9 --------- next.config.mjs | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 9 deletions(-) delete mode 100644 next.config.js create mode 100644 next.config.mjs diff --git a/next.config.js b/next.config.js deleted file mode 100644 index ce91020e..00000000 --- a/next.config.js +++ /dev/null @@ -1,9 +0,0 @@ -module.exports = { - trailingSlash: false, - images: { - domains: [ - 'hudozkacdn.tmshv.com', - 'images.weserv.nl', - ], - } -} diff --git a/next.config.mjs b/next.config.mjs new file mode 100644 index 00000000..747ca384 --- /dev/null +++ b/next.config.mjs @@ -0,0 +1,15 @@ +/** + * @type {import('next').NextConfig} + */ +const nextConfig = { + trailingSlash: false, + images: { + domains: [ + "hudozkacdn.tmshv.com", + "images.weserv.nl", + ], + }, + /* config options here */ +} + +export default nextConfig