mcfly/site/mcfly.config.mjs
Ayo 970970fd32 feat: use fastify as server
- [x] implement server framework plugin config
- [x] new @mcflyjs/fastify package
- [x] update readme re: pivot & target state
- [x] new basic template

Reviewed-on: https://git.ayo.run/ayo/mcfly/pulls/2
Co-authored-by: Ayo <ayo@ayco.io>
Co-committed-by: Ayo <ayo@ayco.io>
2026-06-04 11:03:45 +00:00

28 lines
628 B
JavaScript

// @ts-check
import { defineConfig } from '@mcflyjs/config'
// import testPlugin from './test-plugin.mjs'
export default defineConfig({
server: {},
components: 'js',
// plugins: [testPlugin()],
// nitro: {
// preset: 'netlify',
// devServer: {
// watch: ['../packages'],
// },
// routeRules: {
// '/chat': {
// redirect: {
// to: 'https://matrix.to/#/#mcfly:matrix.org',
// statusCode: 302,
// },
// },
// },
// compressPublicAssets: {
// gzip: true,
// brotli: true,
// },
// compatibilityDate: '2024-12-08',
// },
})