asset-smasher
Advanced tools
Comparing version 0.2.0 to 0.2.1
# Asset Smasher Changelog | ||
## 0.2.1 (September 17, 2012) | ||
- Allow the `asset_src` helper to work with assets whose names have been transformed. | ||
## 0.2.0 (August 15, 2012) | ||
@@ -4,0 +8,0 @@ |
@@ -105,2 +105,3 @@ var async = require('async'); | ||
phases.discovery.push(manifestWalker.asOperation()); | ||
phases.discovery.push(transformer.asGlobalDryRunOperation()); | ||
phases.discovery.push(depResolver.asOperation()); | ||
@@ -107,0 +108,0 @@ |
@@ -61,2 +61,5 @@ /** | ||
}, | ||
asGlobalDryRunOperation:function () { | ||
return this.executeGlobalDry.bind(this); | ||
}, | ||
execute:function (asset, cb) { | ||
@@ -103,2 +106,10 @@ var transforms = this.transforms; | ||
}, | ||
executeGlobalDry:function (assetBundle, cb) { | ||
var self = this; | ||
async.forEach(assetBundle.getAllAssets(), function(asset, eachCb) { | ||
self.executeDry(asset, eachCb); | ||
}, function (e) { | ||
cb(e, assetBundle); | ||
}); | ||
}, | ||
executeDry:function (asset, cb) { | ||
@@ -105,0 +116,0 @@ var transforms = this.transforms; |
/** | ||
* | ||
* This transform takes Styles .styl files and compiles them to CSS. | ||
* This transform takes Stylus .styl files and compiles them to CSS. | ||
* | ||
@@ -5,0 +5,0 @@ * It takes a "compress" option which indicates whether minified CSS should |
{ | ||
"name": "asset-smasher", | ||
"description": "Asset pre-processor, merger, and compressor.", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "Jim Riecken <jriecken@gmail.com>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76342
1809
1