Last active
May 2, 2020 07:33
-
-
Save steinarb/384ce2e5775e94ca9c5bb1cefed3b48b to your computer and use it in GitHub Desktop.
frontend-maven-plugin configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>com.github.eirslett</groupId> | |
<artifactId>frontend-maven-plugin</artifactId> | |
<version>1.6</version> | |
<configuration> | |
<nodeVersion>v10.4.0</nodeVersion> | |
<workingDirectory>src/main/frontend</workingDirectory> | |
<installDirectory>target</installDirectory> | |
</configuration> | |
<executions> | |
<execution> | |
<id>install node and npm</id> | |
<goals> | |
<goal>install-node-and-npm</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>npm install</id> | |
<goals> | |
<goal>npm</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>webpack build</id> | |
<goals> | |
<goal>webpack</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment