mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-06 10:16:57 +02:00
clear node cache on maven clean to avoid problems with hmr or fast-refresh
This commit is contained in:
@@ -32,6 +32,22 @@
|
||||
<finalName>scm-ui</finalName>
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<configuration>
|
||||
<filesets>
|
||||
<!-- delete node cache to avoid problems with hmr or fast-refresh code -->
|
||||
<fileset>
|
||||
<directory>../node_modules/.cache</directory>
|
||||
<includes>
|
||||
<include>**</include>
|
||||
</includes>
|
||||
</fileset>
|
||||
</filesets>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>com.github.sdorra</groupId>
|
||||
<artifactId>buildfrontend-maven-plugin</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user