mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-04 04:40:05 +02:00
add some packages
This commit is contained in:
8
node_modules/core-js/modules/_replacer.js
generated
vendored
Normal file
8
node_modules/core-js/modules/_replacer.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
module.exports = function (regExp, replace) {
|
||||
var replacer = replace === Object(replace) ? function (part) {
|
||||
return replace[part];
|
||||
} : replace;
|
||||
return function (it) {
|
||||
return String(it).replace(regExp, replacer);
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user