feat: Upgrade to Astro 3.5
Signed-off-by: Avior <github@avior.me>
This commit is contained in:
parent
f1d535073e
commit
f112ac6b50
@ -15,30 +15,57 @@ import node from "@astrojs/node"
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
integrations: [tailwind()],
|
||||
compressHTML: true,
|
||||
// Use the NodeJS adapter
|
||||
adapter: node({
|
||||
mode: "standalone"
|
||||
}),
|
||||
|
||||
// some settings to the build output
|
||||
build: {
|
||||
// the asset path
|
||||
assets: 'assets',
|
||||
|
||||
// inline the stylesheet if it is small enough
|
||||
inlineStylesheets: 'auto'
|
||||
},
|
||||
|
||||
// Compress the HTML output
|
||||
compressHTML: true,
|
||||
|
||||
// Customizable depending on goal
|
||||
output: 'server',
|
||||
|
||||
// Add TailwindCSS
|
||||
integrations: [tailwind()],
|
||||
|
||||
// prefetch links
|
||||
prefetch: {
|
||||
defaultStrategy: 'hover'
|
||||
},
|
||||
|
||||
// the site url
|
||||
site: 'https://example.com',
|
||||
|
||||
// the Output server
|
||||
server: {
|
||||
host: true,
|
||||
port: 3000
|
||||
},
|
||||
|
||||
// Remove the trailing slash by default
|
||||
trailingSlash: 'never',
|
||||
|
||||
// Dev Server
|
||||
vite: {
|
||||
server: {
|
||||
watch: {
|
||||
// Ignore some paths
|
||||
ignored: [],
|
||||
// support WSL strange things
|
||||
usePolling: !!process.env.WSL_DISTRO_NAME
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// Customizable depending on goal
|
||||
output: 'server',
|
||||
adapter: node({
|
||||
mode: "standalone"
|
||||
}),
|
||||
site: 'https://example.com',
|
||||
|
||||
})
|
||||
|
3589
package-lock.json
generated
3589
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user