From d85383193261c5f78d18d2b42cd090c62c9ee661 Mon Sep 17 00:00:00 2001 From: Jorge Pablo Solis Date: Tue, 22 Apr 2025 11:09:56 -0600 Subject: [PATCH] Update configuration.md there was kind of a mix up with the options of aot and detail configs --- docs/patterns/configuration.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/patterns/configuration.md b/docs/patterns/configuration.md index 347882fb..42dabfbf 100644 --- a/docs/patterns/configuration.md +++ b/docs/patterns/configuration.md @@ -61,6 +61,13 @@ new Elysia({ aot: true }) ``` +Disable Ahead of Time compilation + +#### Options - @default `false` + +- `true` - Precompile every route before starting the server + +- `false` - Disable JIT entirely. Faster startup time without cost of performance ## detail @@ -79,14 +86,6 @@ new Elysia({ }) ``` -Disable Ahead of Time compilation - -#### Options - @default `false` - -- `true` - Precompile every route before starting the server - -- `false` - Disable JIT entirely. Faster startup time without cost of performance - ## name Define a name of an instance which is used for debugging and [Plugin Deduplication](/essential/plugin.html#plugin-deduplication)