diff --git a/articles/flow/configuration/properties.adoc b/articles/flow/configuration/properties.adoc index 7c8cb16105..9b51eacb71 100644 --- a/articles/flow/configuration/properties.adoc +++ b/articles/flow/configuration/properties.adoc @@ -229,7 +229,7 @@ Bundle parameter controls parts of frontend bundle creation. |`vaadin.frontend.hotdeploy.dependencies` |A comma-separated list of module directories to watch for frontend file changes when detecting hot-deployable resources. Entries need to point to directories relative to the module that starts the Vaadin application, and can point to the module itself as well, in case it provides frontend files as resources. The value could be for example "./,./component-module-1,./component-module-2". Flow will watch for changes in both `src/main/resources/META-INF/resources/frontend` and the legacy `src/main/resources/META-INF/frontend` directories under the given three directory entries. -Do note that if this parameter is not defined, Vaadin wathes for changes under `src/main/resources/META-INF/` in the module that starts the Vaadin application, but when you provide a custom value for the parameter you need to add "./" to the list of directories to watch for the same effect. +Do note that if this parameter is not defined, Vaadin watches for changes under `src/main/resources/META-INF/` in the module that starts the Vaadin application, but when you provide a custom value for the parameter you need to add "./" to the list of directories to watch for the same effect. |`` |Development @@ -397,6 +397,12 @@ The following table contains the properties that are used only by the Vaadin Mav |`false` |Build +|`optimizeBundle` +| +|Optimizes frontend resource bundles. All frontend resources in the classpath are included by default in the generated bundle in development mode. When set to `true`, the frontend build creates an optimized bundle by including only frontend resources that are used from the application entry points. It uses bytecode scanning, which increases application start-up time. Set to `false` to skip the optimization in production mode. +|`true` +|Bundle + |`frontendDirectory` | |Directory containing the project's frontend files. Can be given as relative or absolute.