send/build/version_loader.js

6 lines
137 B
JavaScript
Raw Normal View History

2017-12-05 20:45:36 +00:00
const version = require('../package.json').version;
module.exports = function(source) {
return source.replace('VERSION', version);
};