diff options
Diffstat (limited to 'subprojects/frontend/build.gradle.kts')
-rw-r--r-- | subprojects/frontend/build.gradle.kts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subprojects/frontend/build.gradle.kts b/subprojects/frontend/build.gradle.kts index 286dd05c..40e31517 100644 --- a/subprojects/frontend/build.gradle.kts +++ b/subprojects/frontend/build.gradle.kts | |||
@@ -18,7 +18,7 @@ frontend { | |||
18 | 18 | ||
19 | val viteOutputDir = layout.buildDirectory.dir("vite") | 19 | val viteOutputDir = layout.buildDirectory.dir("vite") |
20 | 20 | ||
21 | val productionResources = viteOutputDir.map { it.dir("production") } | 21 | val productionResources: Provider<Directory> = viteOutputDir.map { it.dir("production") } |
22 | 22 | ||
23 | val productionAssets: Configuration by configurations.creating { | 23 | val productionAssets: Configuration by configurations.creating { |
24 | isCanBeConsumed = true | 24 | isCanBeConsumed = true |
@@ -117,7 +117,7 @@ tasks { | |||
117 | dependsOn(installFrontend) | 117 | dependsOn(installFrontend) |
118 | dependsOn(generateXStateTypes) | 118 | dependsOn(generateXStateTypes) |
119 | inputs.files(assembleFiles) | 119 | inputs.files(assembleFiles) |
120 | outputs.dir("$viteOutputDir/development") | 120 | outputs.dir(viteOutputDir.map { it.dir("development") }) |
121 | script.set("run serve") | 121 | script.set("run serve") |
122 | group = "run" | 122 | group = "run" |
123 | description = "Start a Vite dev server with hot module replacement." | 123 | description = "Start a Vite dev server with hot module replacement." |