0.2.0 • Published 8 years ago

rev-manifest-path v0.2.0

Weekly downloads
630
License
MIT
Repository
github
Last release
8 years ago

rev-manifest-path

Get the cache busted path of an asset from a gulp-rev or gulp-rev-all manifest.

Installation

npm install --save rev-manifest-path

Usage

var helper = require('rev-manifest-path');

var assetPath = helper({
  prefix: '/assets',
  manifest: './build/rev-manifest.json'
});

console.log(assetPath('bundled.js')) //prints "/assets/bundled.fdfd034b.js"
console.log(assetPath('bundled.css')) //prints "/assets/bundled.d1a51643.css"
0.2.0

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago