SiteWebAstrolabe/src/utils/minify.js

4 lines
104 B
JavaScript
Raw Normal View History

2020-06-19 23:47:44 +02:00
module.exports = function minify(input) {
return input.replace(/\s{2,}/g, '').replace(/\'/g, '"');
};