send/build/version_loader.js
2017-12-05 12:51:37 -08:00

5 lines
137 B
JavaScript

const version = require('../package.json').version;
module.exports = function(source) {
return source.replace('VERSION', version);
};