fix yarn build task

This commit is contained in:
Aria Moradi
2021-01-21 15:04:11 +03:30
parent 790040cd68
commit cd82af2d76
3 changed files with 16342 additions and 3 deletions
+2 -2
View File
@@ -4,11 +4,11 @@ plugins {
node { node {
workDir = file("${project.projectDir}/react/") workDir = file("${project.projectDir}/react/")
nodeModulesDir = file("${project.projectDir}/react/node_modules") nodeModulesDir = file("${project.projectDir}/react/")
} }
tasks.named("yarn_build") { tasks.named("yarn_build") {
dependsOn("yarn_install") dependsOn("yarn") // install node_moduels
} }
tasks.register<Copy>("copyBuild") { tasks.register<Copy>("copyBuild") {
+16339
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -47,4 +47,4 @@
"eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-react-hooks": "^4.2.0",
"typescript": "^4.1.0" "typescript": "^4.1.0"
} }
} }