forked from github/dataease
perf: 降低前端打包时间
This commit is contained in:
parent
ee68dbcbe2
commit
932c98aeec
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<!--<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<version>3.2.0</version>
|
<version>3.2.0</version>
|
||||||
@ -38,13 +38,14 @@
|
|||||||
</fileset>
|
</fileset>
|
||||||
</filesets>
|
</filesets>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.github.eirslett</groupId>
|
<groupId>com.github.eirslett</groupId>
|
||||||
<artifactId>frontend-maven-plugin</artifactId>
|
<artifactId>frontend-maven-plugin</artifactId>
|
||||||
<version>${frontend-maven-plugin.version}</version>
|
<version>${frontend-maven-plugin.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<!--首次打包需要放开-->
|
||||||
|
<!--<execution>
|
||||||
<id>install node and npm</id>
|
<id>install node and npm</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>install-node-and-npm</goal>
|
<goal>install-node-and-npm</goal>
|
||||||
@ -53,9 +54,9 @@
|
|||||||
<nodeVersion>v16.15.0</nodeVersion>
|
<nodeVersion>v16.15.0</nodeVersion>
|
||||||
<npmVersion>8.5.5</npmVersion>
|
<npmVersion>8.5.5</npmVersion>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>-->
|
||||||
|
<!--前端组件有更新需要放开-->
|
||||||
<execution>
|
<!--<execution>
|
||||||
<id>npm install</id>
|
<id>npm install</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>npm</goal>
|
<goal>npm</goal>
|
||||||
@ -63,7 +64,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<arguments>install</arguments>
|
<arguments>install</arguments>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>-->
|
||||||
|
|
||||||
<execution>
|
<execution>
|
||||||
<id>npm run build</id>
|
<id>npm run build</id>
|
||||||
|
2
de-xpack
2
de-xpack
@ -1 +1 @@
|
|||||||
Subproject commit 21e8e6225de2d4cd0bfb32442098de82f0c23aa1
|
Subproject commit 31d53d9a7650f4902ba93269d20912b3bb08bfac
|
Loading…
Reference in New Issue
Block a user