prepare for integration with Equinox
This commit is contained in:
@@ -2,7 +2,7 @@ plugins {
|
||||
id("com.github.node-gradle.node") version "3.0.1"
|
||||
}
|
||||
|
||||
val nodeRoot = "${project.projectDir}/react"
|
||||
val nodeRoot = "${project.projectDir}/src"
|
||||
node {
|
||||
nodeProjectDir.set(file(nodeRoot))
|
||||
}
|
||||
@@ -10,7 +10,7 @@ node {
|
||||
tasks {
|
||||
register<Copy>("copyBuild") {
|
||||
from(file("$nodeRoot/build"))
|
||||
into(file("$rootDir/server/src/main/resources/react"))
|
||||
into(file("$rootDir/server/src/main/resources/webUI"))
|
||||
|
||||
dependsOn("yarn_build")
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 111 KiB |
|
Before Width: | Height: | Size: 579 KiB After Width: | Height: | Size: 579 KiB |
Reference in New Issue
Block a user