Skip to content

A simple Maven plugin for compressing static assets (e.g. CSS and JavaScript files) at build time using GZip and Brotli.

Notifications You must be signed in to change notification settings

RyanHoldren/ResourceCompressor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ResourceCompressor

A simple Maven plugin for compressing static assets (e.g. CSS and JavaScript files) at build time using GZip and Brotli.

Usage:

<plugin>
	<groupId>com.github.ryanholdren</groupId>
	<artifactId>resourcecompressor</artifactId>
	<version>2016-07-15</version>
	<executions>
		<execution>
			<goals>
				<goal>compress</goal>
			</goals>
			<configuration>
				<directory>${project.build.directory}/${project.build.finalName}/css</directory>
				<filter>\.css$</filter>
				<compression>FASTEST</compression>
			</configuration>
		</execution>
	</executions>
</plugin>

About

A simple Maven plugin for compressing static assets (e.g. CSS and JavaScript files) at build time using GZip and Brotli.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Java 100.0%