Skip to content

Commit 161d9f0

Browse files
authored
fix: Add NODE_OPTIONS = --max-old-space-size=4096 (#982)
1 parent a7170e8 commit 161d9f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hivemq-edge-frontend/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ tasks.withType<PnpmTask>().configureEach {
2020
}
2121

2222
val buildFrontend by tasks.registering(PnpmTask::class) {
23+
environment = mapOf(
24+
"NODE_OPTIONS" to "--max-old-space-size=4096",
25+
)
2326
pnpmCommand.set(listOf("build", "--base=/app"))
2427
dependsOn(tasks.pnpmInstall)
2528
inputs.dir(project.fileTree("src"))

0 commit comments

Comments
 (0)