We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b938402 commit cc11ebcCopy full SHA for cc11ebc
examples/vertx-react/webapp/build.gradle
@@ -13,6 +13,7 @@ def buildTask = tasks.register("buildWebapp", NpxTask) {
13
args = ["build"]
14
dependsOn(yarn)
15
inputs.dir(fileTree("src").exclude("**/*.test.js").exclude("**/*.spec.js").exclude("**/__tests__/**/*.js"))
16
+ inputs.dir("node_modules")
17
inputs.dir("public")
18
outputs.dir("${buildDir}/webapp")
19
environment = ["BUILD_PATH": "${buildDir}/webapp/webroot"]
@@ -22,6 +23,7 @@ def testTask = tasks.register("testWebapp", NpxTask) {
22
23
command = "react-scripts"
24
args = ["test"]
25
26
27
inputs.dir("src")
28
29
outputs.upToDateWhen { true }
0 commit comments