FrontendBuildConfig
mill.contrib.vaadin.api.FrontendBuildConfig
case class FrontendBuildConfig(projectDir: Path, frontendDir: Path, javaSourceDir: Path, resourcesDir: Path, buildToolsDir: Path, stageDir: Path, classpath: Seq[Path], applicationIdentifier: String)
Inputs of one production frontend build. All paths are absolute.
Value parameters
- applicationIdentifier
-
identifier of the application's frontend bundle
- buildToolsDir
-
Vaadin's build folder (Maven:
target, Gradle:build) - classpath
-
classpath scanned for frontend dependencies (
@JsModule,@NpmPackage, ...) - frontendDir
-
frontend sources (themes, styles, TypeScript views)
- javaSourceDir
-
main JVM source folder
- projectDir
-
npm folder:
package.json,node_modules, Vite config - resourcesDir
-
main resources folder, holding
application.properties - stageDir
-
output root; servlet resources are written to
META-INF/VAADINbelow it
Attributes
- Source
- FrontendBuildConfig.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article