grunt-assets-fingerprint
Advanced tools
Comparing version 0.1.6 to 0.1.7
{ | ||
"name": "grunt-assets-fingerprint", | ||
"description": "grunt assets fingerprint", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"homepage": "https://github.com/stigmat4j/grunt-assets-fingerprint", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -5,37 +5,24 @@ grunt-assets-fingerprint | ||
### Example | ||
<pre>assetFingerprint: { | ||
scripts: { | ||
options: { | ||
algorithm: 'md5', | ||
baseUrl: 'http://' + IP + ':9000/production/', | ||
deps: ['main'], | ||
dest: "production/", | ||
param: "paths" | ||
}, | ||
dist: { | ||
dir: "build/", | ||
src: [ | ||
'main.js', | ||
'modules/auth/auth.js', | ||
'modules/map/map.js', | ||
'modules/equipment/equipment.js', | ||
'modules/landmark/landmark.js' | ||
] | ||
} | ||
<pre> | ||
assetFingerprint: { | ||
options: { | ||
algorithm: 'md5', | ||
deps: ['main'], | ||
assetFile: 'assets.json', | ||
dist: 'production/', | ||
dir: 'build/', | ||
addParam: [ | ||
{baseUrl: 'http://localhost:9000/production/'}, | ||
{deps: ['main']} | ||
] | ||
}, | ||
styles: { | ||
options: { | ||
algorithm: 'md5', | ||
baseUrl: 'http://' + IP + ':9000/production/', | ||
dest: "production/", | ||
param: "styles" | ||
}, | ||
dist: { | ||
dir: "build/", | ||
src: [ | ||
'css/app.css', | ||
'css/icomoon.css' | ||
] | ||
} | ||
} | ||
}</pre> | ||
files: [ | ||
{src: 'main.js', expand: "paths", force: "main"}, | ||
{src: 'modules/auth/auth.js', expand: "paths", force: "modules/auth/auth"}, | ||
{src: 'modules/map/map.js', expand: "paths", force: "modules/map/map"}, | ||
{src: 'modules/equipment/equipment.js', expand: "paths", force: "modules/equipment/equipment"}, | ||
{src: 'modules/landmark/landmark.js', expand: "paths", force: "modules/landmark/landmark"}, | ||
{src: 'css/locate.css', expand: "styles", force: "css"} | ||
] | ||
} | ||
</pre> |
9904
28