Update config

update toc key
This commit is contained in:
DefectingCat
2022-08-19 11:04:55 +08:00
parent ca4dade52f
commit 015339dfcf
2 changed files with 33 additions and 20 deletions

View File

@ -1,19 +1,32 @@
import remarkFrontmatter from 'remark-frontmatter';
import composePlugins from 'next-compose-plugins';
// import composePlugins from 'next-compose-plugins';
const composedConfig = composePlugins([
/** @type {import('next').NextConfig} */
{
reactStrictMode: true,
output: 'standalone',
experimental: {
// runtime: 'nodejs',
// outputStandalone: true,
images: { allowFutureImage: true },
},
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
images: { domains: ['avatars.githubusercontent.com'] },
// const composedConfig = composePlugins([
// /** @type {import('next').NextConfig} */
// {
// reactStrictMode: true,
// output: 'standalone',
// experimental: {
// // runtime: 'nodejs',
// // outputStandalone: true,
// images: { allowFutureImage: true },
// },
// pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
// images: { domains: ['avatars.githubusercontent.com'] },
// },
// ]);
/**
* @type {import('next').NextConfig}
*/
const nextConfig = {
/* config options here */
reactStrictMode: true,
output: 'standalone',
experimental: {
// runtime: 'nodejs',
// outputStandalone: true,
images: { allowFutureImage: true },
},
]);
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
};
export default composedConfig;
export default nextConfig;