Astro site with e-book reader for classic electronics notebooks. 15 Mims notebooks + 1 Ugly's Electrical Reference, served via Docker/Caddy at mims.l.supported.systems. PDFs tracked with git-lfs.
24 lines
534 B
JavaScript
24 lines
534 B
JavaScript
// @ts-check
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
import react from '@astrojs/react';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
integrations: [react()],
|
|
|
|
// Production site URL for correct link generation
|
|
site: process.env.SITE_URL || 'https://mims.l.supported.systems',
|
|
|
|
// Disable telemetry and devToolbar
|
|
telemetry: false,
|
|
devToolbar: { enabled: false },
|
|
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
server: {
|
|
host: '0.0.0.0',
|
|
}
|
|
}
|
|
}); |