- [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>
28 lines
628 B
JavaScript
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',
|
|
// },
|
|
})
|