Merge pull request #466 from emre-aydin/minify-js-css-maven

Minify Javascript and CSS files by using YUI compressor Maven plugin
This commit is contained in:
tomjoebob 2016-07-11 13:52:30 -06:00 committed by GitHub
commit eacc4bdd57
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