SiteWebAstrolabe/src/utils/minify.js
2020-06-19 23:47:44 +02:00

4 lines
104 B
JavaScript

module.exports = function minify(input) {
return input.replace(/\s{2,}/g, '').replace(/\'/g, '"');
};