[jsscripting] Add prefix when installing webpack to fix build issues (#18842)

This prevents webpack being installed in another directory.

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2025-06-23 12:12:01 +02:00
committed by GitHub
parent 200400de9d
commit e7fcfe5a83
@@ -65,7 +65,7 @@
</goals>
<configuration>
<!--suppress UnresolvedMavenProperty -->
<arguments>install ${ohjs.version} webpack@^5.94.0 webpack-cli@^5.1.4</arguments>
<arguments>install ${ohjs.version} webpack@^5.94.0 webpack-cli@^5.1.4 --prefix .</arguments>
<!-- webpack & webpack-cli versions should match to the ones from openhab-js -->
</configuration>
</execution>