add remove console

This commit is contained in:
DefectingCat
2022-09-30 17:07:36 +08:00
parent 17e2dad908
commit 642b8be2ef

View File

@ -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'