Minify Javascript and CSS files by using YUI compressor Maven plugin

This commit is contained in:
emre 2016-06-26 19:58:55 +03:00
parent afb2e977fb
commit 1a28fbe93e
4 changed files with 33 additions and 58307 deletions

View File

@ -170,6 +170,39 @@
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<version>1.5.1</version>
<executions>
<execution>
<goals>
<goal>compress</goal>
</goals>
</execution>
</executions>
<configuration>
<nosuffix>true</nosuffix>
<webappDirectory>${project.build.directory}/min</webappDirectory>
<excludes>
<exclude>**/*.min.js</exclude>
<exclude>**/handlebars-3133af2.js</exclude>
<exclude>**/require.js</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
<resource>
<directory>${project.build.directory}/min</directory>
</resource>
</webResources>
</configuration>
</plugin>
</plugins>
</build>
<properties>

View File

@ -1,4 +0,0 @@
/**
*
*/
window.Todos = Ember.Application.create();

File diff suppressed because it is too large Load Diff