1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-04 04:40:05 +02:00

add some babel stuff

This commit is contained in:
s2
2018-05-05 15:35:25 +02:00
parent d17c4fe70c
commit e76e795120
604 changed files with 103725 additions and 62 deletions

13
node_modules/util.promisify/shim.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
'use strict';
var util = require('util');
var getPolyfill = require('./polyfill');
module.exports = function shimUtilPromisify() {
var polyfill = getPolyfill();
if (polyfill !== util.promisify) {
util.promisify = polyfill;
Object.defineProperty(util, 'promisify', { value: polyfill });
}
return polyfill;
};