Skip to content

Commit

Permalink
Remove glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
mcruzdev committed Dec 10, 2024
1 parent f7f8872 commit 2225847
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/src/main/asciidoc/writing-extensions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1640,11 +1640,13 @@ public void produceServiceFiles(

While both are used to generate resources, their purposes and behaviors differ:

* **`GeneratedResourceBuildItem`**
**`GeneratedResourceBuildItem`:**

* Used for resources required at runtime (e.g., SPI service definitions).
* Persisted only in production mode; otherwise, stored in memory.

* **`GeneratedStaticResourceBuildItem`**
**`GeneratedStaticResourceBuildItem`:**

* Designed for serving static resources via HTTP (e.g., JavaScript or CSS files).
* In development mode, these resources are served dynamically using Vertx.
* Generates a `GeneratedResourceBuildItem`.
Expand Down

0 comments on commit 2225847

Please sign in to comment.