irongit
Explore
Docs
Sign in
Register
huncholane
/
irongit
Public
Git hosting and a container registry in one Rust binary (axum + Astro)
Code
Commits
Branches
Tags
main
irongit
/
frontend
/
astro.config.mjs
11 lines
433 B
JavaScript
Raw
Download
History
1
//
@ts-check
2
import
{
defineConfig
}
from
"
astro/config
"
;
3
import
tailwindcss
from
"
@tailwindcss/vite
"
;
4
5
export
default
defineConfig
(
{
6
//
`directory` emits about/index.html, which the Rust server resolves for
7
//
/about, /about/ and /about.html alike. There is no `astro dev` here: the
8
//
Rust server is the only server, and it rebuilds this on change.
9
build
:
{
format
:
"
directory
"
}
,
10
vite
:
{
plugins
:
[
tailwindcss
(
)
]
}
,
11
}
)
;