mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 02:15:12 +00:00
- Replace all inline scripts with TypeScript modules - Create page-specific modules for agents, prompts, instructions, skills, collections, index - Create core modules: utils.ts, search.ts, modal.ts, choices.ts, jszip.ts, theme.ts - Remove window global exports, use proper ES module imports - Add type interfaces for all data structures - Use data-base-path attribute on body for base URL handling - Bundle Choices.js and JSZip via npm instead of CDN - Astro pages now just have single script import each
15 lines
329 B
JavaScript
15 lines
329 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import sitemap from '@astrojs/sitemap';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: 'https://github.github.io',
|
|
base: '/awesome-copilot/',
|
|
output: 'static',
|
|
integrations: [sitemap()],
|
|
build: {
|
|
assets: 'assets',
|
|
},
|
|
trailingSlash: 'always',
|
|
});
|