h5bp/node-build-script — Issue #3: Usemin customisation
Author: KingScooty
Created: 2012-02-20 01:10:10+00:00
State: open

I've noticed that the 'publish' and 'intermediate' paths are hardcoded into the usemin.js tasks file. Is there not a way to pass extra parameters in the grunt.js file to update these paths?

I'd prefer to call intermediate -> staging, and publish -> production, but when the build script gets to the phase where it updates the html files with the new paths, and it fails due to the paths being hardcoded and not being taken from the grunt file, like the rest of the tasks. Is there a way to update this?

I'd try myself, but i'm not sure how to overwrite the installed files. Do i just npm install -g from the node folder to overwrite the files?