0.0.2 • Published 12 years ago

anvil.haml v0.0.2

Weekly downloads
8
License
-
Repository
github
Last release
12 years ago

Anvil HAML Plugin

This plugin requires anvil.js version 0.8.* or greater.

Installation

anvil install anvil.haml

Usage

If this plugin is installed and enabled, it will automatically minify .js files using the uglify-js node library.

Minifying All The Things

Add the following snippet to the build.json:

"anvil.uglify": {
	"all": "true"
}

Inclusive Minification

Add the following snippet to the build.json to compile only the listed files:

"anvil.uglify": {
	"include": [
		"./path/to/file1",
		"./path/to/file2",
		"./path/to/file4",
	]
}

Exclusive Minification

Add the following snippet to the build.json to compile everything but the listed files:

"anvil.uglify": {
	"exclude": [
		"./path/to/file1",
		"./path/to/file2",
		"./path/to/file4",
	]
}
0.0.2

12 years ago

0.0.1

12 years ago