]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add `build` property to Astro config to change the location of the built assets
authorJulien Déramond <juderamond@gmail.com>
Mon, 14 Apr 2025 17:56:44 +0000 (19:56 +0200)
committerJulien Déramond <juderamond@gmail.com>
Mon, 14 Apr 2025 17:56:44 +0000 (19:56 +0200)
site/astro.config.ts

index 4af106602afb07d0b8794b827c479c7a4c5ab75c..6460f12f5e871ef6fff353d3b100a8e21358c191 100644 (file)
@@ -18,6 +18,9 @@ const site = isDev
 
 // https://astro.build/config
 export default defineConfig({
+  build: {
+    assets: `docs/${getConfig().docs_version}/assets`
+  },
   integrations: [bootstrap()],
   markdown: {
     smartypants: false,