mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
Update config
update toc key
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user