Skip to content

Commit

Permalink
Merge pull request rotundasoftware#44 from pepoviola/master
Browse files Browse the repository at this point in the history
add assetUrlTransform to be the first post-processor to apply
  • Loading branch information
dgbeck committed Oct 24, 2015
2 parents b9208b8 + eee5e7f commit 44039a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ Cartero.prototype.copyTempBundleToFinalDestination = function( tempBundlePath, a

// this is part of a hack to apply the ##url transform to javascript files. see comments in transforms/resolveRelativeAssetUrlsToAbsolute
var postProcessorsToApply = _.clone( _this.postProcessors );
if( assetType === 'script' ) postProcessorsToApply.push( function( file ) { return assetUrlTransform( file, {
if( assetType === 'script' ) postProcessorsToApply.unshift( function( file ) { return assetUrlTransform( file, {
packagePathsToIds : _this.packagePathsToIds,
outputDirUrl : _this.outputDirUrl
} ); } );
Expand Down

0 comments on commit 44039a8

Please sign in to comment.