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