build: 更新构建配置文件
This commit is contained in:
2
next-env.d.ts
vendored
2
next-env.d.ts
vendored
@@ -1,6 +1,6 @@
|
|||||||
/// <reference types="next" />
|
/// <reference types="next" />
|
||||||
/// <reference types="next/image-types/global" />
|
/// <reference types="next/image-types/global" />
|
||||||
import "./.next/dev/types/routes.d.ts";
|
import "./.next/types/routes.d.ts";
|
||||||
|
|
||||||
// NOTE: This file should not be edited
|
// NOTE: This file should not be edited
|
||||||
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import type { NextConfig } from 'next';
|
|||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
outputFileTracingRoot: path.resolve(__dirname, '../../'),
|
// outputFileTracingRoot: path.resolve(__dirname, '../../'),
|
||||||
/* config options here */
|
/* config options here */
|
||||||
allowedDevOrigins: ['*.dev.coze.site'],
|
allowedDevOrigins: ['*.dev.coze.site'],
|
||||||
images: {
|
images: {
|
||||||
|
|||||||
Reference in New Issue
Block a user