Skip to content

Commit 165f45b

Browse files
authored
🔧 更新构建输出目录至 ./build (#57)
1 parent 6235d82 commit 165f45b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# build output
2-
dist/
2+
build/
33
# generated types
44
.astro/
55

‎astro.config.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const IS_CHINA_SITE = process.env.CHINA === "true";
1515

1616
export default defineConfig({
1717
site: IS_CHINA_SITE ? "https://nitwikit.8aka.cn" : "https://nitwikit.8aka.org",
18+
outDir: "./build",
1819
integrations: [
1920
vue(),
2021
starlight({

0 commit comments

Comments
 (0)