mirror of
https://github.com/audacity/audacity.github.io.git
synced 2026-04-13 07:25:21 -05:00
44 lines
1.0 KiB
JavaScript
44 lines
1.0 KiB
JavaScript
import { defineConfig } from "astro/config";
|
|
import tailwind from "@astrojs/tailwind";
|
|
import react from "@astrojs/react";
|
|
import icon from "astro-icon";
|
|
|
|
import sitemap from "@astrojs/sitemap";
|
|
|
|
// https://astro.build/config
|
|
import compressor from "astro-compressor";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: "https://www.audacityteam.org",
|
|
integrations: [
|
|
tailwind({
|
|
// Example: Disable injecting a basic `base.css` import on every page.
|
|
// Useful if you need to define and/or import your own custom `base.css`.
|
|
applyBaseStyles: false,
|
|
}),
|
|
react(),
|
|
icon({
|
|
include: {
|
|
"fa6-brands": ["apple", "windows", "linux"],
|
|
},
|
|
}),
|
|
sitemap(),
|
|
compressor(),
|
|
],
|
|
vite: {
|
|
define: {
|
|
"import.meta.env.BRANCH": JSON.stringify(process.env.BRANCH),
|
|
},
|
|
ssr: {
|
|
noExternal: [
|
|
"@datapunt/matomo-tracker-react",
|
|
"@datapunt/matomo-tracker-js",
|
|
],
|
|
},
|
|
build: {
|
|
assets: 'assets',
|
|
},
|
|
},
|
|
});
|