Files
jiawei 5754abe713
torbox-admin / deploy (push) Successful in 2m44s
feat: 一些优化
2026-10-07 03:36:49 -07:00

14 lines
417 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { codeInspectorPlugin } from "code-inspector-plugin";
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// 生成可独立运行的 server.js,供 Docker 镜像使用
output: "standalone",
// 开发时 Option+Shift(Windows: Alt+Shift)点击页面元素跳转到源码
turbopack: {
rules: codeInspectorPlugin({ bundler: "turbopack" })
}
};
export default nextConfig;