mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
add remove console
This commit is contained in:
@ -1,20 +1,3 @@
|
||||
// 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'] },
|
||||
// },
|
||||
// ]);
|
||||
|
||||
/**
|
||||
* @type {import('next').NextConfig}
|
||||
*/
|
||||
@ -29,6 +12,9 @@ const nextConfig = {
|
||||
// runtime: 'nodejs',
|
||||
// outputStandalone: true,
|
||||
},
|
||||
compiler: {
|
||||
removeConsole: true,
|
||||
},
|
||||
// assetPrefix: isExport ? './' : undefined,
|
||||
// images:
|
||||
// process.env.NEXT_BUILD === 'export'
|
||||
|
Reference in New Issue
Block a user