Archive for November, 2017

Nov 16 2017

Adjust base href via a NPM package.json scripts

Published under Technology

Suppose you wanted to adjust the base HREF in an index.html file using a regular expression, as part of a build process you are cobbling together using NPM scripts. How could you do that? Here’s one answer, though this only works if the sed command line tool is available (as it will be almost always […]

No responses yet