frontpage/next.config.js

18 lines
420 B
JavaScript
Raw Normal View History

2021-11-30 23:48:54 +01:00
/** @type {import('next').NextConfig} */
module.exports = {
reactStrictMode: true,
2022-07-30 17:48:18 +02:00
images: {
domains: ["openai-labs-public-images-prod.azureedge.net"]
},
i18n: {
locales: ["en"],
defaultLocale: "en",
2022-10-07 23:03:39 +02:00
},
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
config.module.rules.push({
test: /\.adoc$/i,
loader: "raw-loader",
});
return config;
},
};