chore: 项目基线(基于 WeKnora 定制版,整理文件忽略规则)
This commit is contained in:
commit
9097ee699d
5769 files changed
+1446466
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import type { NextConfig } from "next";
|
||||
import { resolve } from "node:path";
|
||||
import { homeAssets } from "../shared/header";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
turbopack: { root: resolve(__dirname, "..") },
|
||||
output: "export",
|
||||
// Chunks are requested from /docs/_home/_next/; build-site.mjs moves out/_next there.
|
||||
assetPrefix: homeAssets,
|
||||
trailingSlash: true,
|
||||
images: {
|
||||
unoptimized: true,
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "images.unsplash.com",
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in new issue
Block a user