[jsscripting] Fix maven build (#13747)
This fixed the maven build, that fails because webpack-cli version 5.0.0 doesn’t properly process the given entrypoint. Instead, webpack tries to use the entrypoint from openhab-js‘ webpack config file. Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
This commit is contained in:
parent
d3348327a9
commit
4dde19203a
|
@ -48,9 +48,9 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.github.eirslett</groupId>
|
<groupId>com.github.eirslett</groupId>
|
||||||
<artifactId>frontend-maven-plugin</artifactId>
|
<artifactId>frontend-maven-plugin</artifactId>
|
||||||
<version>1.12.0</version>
|
<version>1.12.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<nodeVersion>v16.17.1</nodeVersion>
|
<nodeVersion>v16.17.1</nodeVersion> <!-- DO NOT DOWNGRADE: NodeJS < 16 doesn't support Apple Silicon -->
|
||||||
<workingDirectory>target/js</workingDirectory>
|
<workingDirectory>target/js</workingDirectory>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
<goal>npm</goal>
|
<goal>npm</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<arguments>install ${ohjs.version} webpack webpack-cli</arguments>
|
<arguments>install ${ohjs.version} webpack@5.75.0 webpack-cli@4.10.0</arguments> <!-- webpack-cli >= 5.0.0 doesn't properly process the given entrypoint -->
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
|
|
Loading…
Reference in New Issue