在下面的代码中,而不是' / myapp'我想动态地传递一个参数,它应该动态地构建项目,给定基础href。
<!-- It will execute command "npm build" inside "/angular" directory to clean and create "/dist" directory-->
<execution>
<id>npm build</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments> run build --base-href /myapp/ </arguments>
</configuration>
</execution>