Skip to content

Commit 6efe55e

Browse files
committed
更新配置
1 parent 233b5be commit 6efe55e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.nojekyll

Whitespace-only changes.

astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default defineConfig({
1616
}
1717
},
1818
buildOptions: {
19-
out: 'public'
19+
out: 'dist'
2020
},
2121
integrations: [
2222
mdx({

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"scripts": {
2323
"dev": "npx tinacms dev -c \"astro dev\"",
2424
"start": "astro dev",
25-
"build": "astro build",
25+
"build": "astro build && cp -R src/assets dist/",
2626
"sync": "astro sync",
2727
"preview": "astro preview",
2828
"postbuild": "pagefind --site dist",
@@ -68,4 +68,4 @@
6868
"prettier --write --plugin-search-dir=."
6969
]
7070
}
71-
}
71+
}

0 commit comments

Comments
 (0)