更新依赖

This commit is contained in:
Han 2025-04-02 19:16:48 +08:00
parent f333964d10
commit b5fc88279b
4 changed files with 13 additions and 9 deletions

View File

@ -21,7 +21,7 @@ export default defineConfig({
integrations: [swup({
theme: false,
animationClass: "vh-animation-",
containers: [".vh-animation"],
containers: [".main-inner>.main-inner-content",'.vh-header>.main'],
smoothScrolling: true,
progress: true,
cache: true,
@ -43,6 +43,6 @@ export default defineConfig({
syntaxHighlight: 'shiki',
shikiConfig: { theme: 'github-light' },
},
vite: { resolve: { alias: { "@": path.resolve(__dirname, "./src"), "@public": path.resolve(__dirname, "./public") } } },
vite: { resolve: { alias: { "@": path.resolve(__dirname, "./src") } } },
server: { host: '0.0.0.0' }
});

View File

@ -12,18 +12,18 @@
"ondev": "astro preferences enable devToolbar"
},
"dependencies": {
"@astrojs/mdx": "^4.2.1",
"@astrojs/mdx": "^4.2.3",
"@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.3.0",
"@swup/astro": "^1.5.0",
"aplayer": "^1.10.1",
"astro": "^5.5.4",
"astro": "^5.5.6",
"overlayscrollbars": "^2.11.1",
"vanilla-lazyload": "^19.1.3",
"vh-plugin": "^1.2.2"
},
"devDependencies": {
"@playform/compress": "^0.1.7",
"@playform/compress": "^0.1.8",
"@types/dplayer": "^1.25.5",
"@types/nprogress": "^0.2.3",
"@waline/client": "^3.5.6",

View File

@ -6,10 +6,7 @@
"paths": {
"@/*": [
"./src/*"
],
"@public/*": [
"./public/*"
],
]
}
},
"include": [

7
wrangler.jsonc Normal file
View File

@ -0,0 +1,7 @@
{
"name": "vh-astro",
"compatibility_date": "2025-03-31",
"assets": {
"directory": "./dist"
}
}