build: 前端打包使用 pnpm
This commit is contained in:
parent
d2ac8ae5c6
commit
b9043902ea
|
@ -26,4 +26,4 @@ yarn-error.log*
|
||||||
.classpath
|
.classpath
|
||||||
yarn.lock
|
yarn.lock
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
pnpm-lock.yaml
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<frontend-maven-plugin.version>1.9.1</frontend-maven-plugin.version>
|
<frontend-maven-plugin.version>1.12.1</frontend-maven-plugin.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
@ -43,14 +43,14 @@
|
||||||
<execution>
|
<execution>
|
||||||
<id>npm install</id>
|
<id>npm install</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>npm</goal>
|
<goal>npx</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- optional: The default argument is actually
|
<!-- optional: The default argument is actually
|
||||||
"install", so unless you need to run some other yarn command,
|
"install", so unless you need to run some other yarn command,
|
||||||
you can remove this whole <configuration> section.
|
you can remove this whole <configuration> section.
|
||||||
-->
|
-->
|
||||||
<arguments>install</arguments>
|
<arguments>pnpm install</arguments>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<!-- Build and minify static files -->
|
<!-- Build and minify static files -->
|
||||||
|
|
Loading…
Reference in New Issue