chore: 删除e2e测试相关的初始化文件和快照文件
清理不再需要的测试初始化文件和视觉回归测试的快照文件,以保持代码库整洁
This commit is contained in:
+4
-1
@@ -1,9 +1,12 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const isDev = process.env.NODE_ENV === 'development';
|
||||
const cdnDomain = process.env.CDN_DOMAIN || 'https://cdn.novalon.cn';
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
distDir: 'dist',
|
||||
output: 'standalone',
|
||||
assetPrefix: isDev ? undefined : cdnDomain,
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
@@ -103,4 +106,4 @@ const nextConfig: NextConfig = {
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
export default nextConfig;
|
||||
Reference in New Issue
Block a user