
* feat: move defineMcFlyConfig to @mcflyjs/config * feat: move defineMcFlyConfig to config package * feat: programmatically build nitro dev server * chore: bump versions * feat: spread nitro config if exists * chore: use nitro build programmatically * feat: use nitro programmatically in prepare command * feat: expose types for NitroConfig & McFlyConfig * feat: use c12 to resolve mcfly config * fix: too many symlinks * chore: skip tests for now * test: cheating * test: cheating * chore: update pnpm-lock
23 lines
455 B
JavaScript
23 lines
455 B
JavaScript
import { defineMcFlyConfig } from '@mcflyjs/config'
|
|
|
|
export default defineMcFlyConfig({
|
|
components: 'js',
|
|
nitro: {
|
|
devServer: {
|
|
watch: ['../packages'],
|
|
},
|
|
routeRules: {
|
|
'/chat': {
|
|
redirect: {
|
|
to: 'https://matrix.to/#/#mcfly:matrix.org',
|
|
statusCode: 302,
|
|
},
|
|
},
|
|
},
|
|
compressPublicAssets: {
|
|
gzip: true,
|
|
brotli: true,
|
|
},
|
|
compatibilityDate: '2024-12-08',
|
|
},
|
|
})
|