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:
11
node_modules/babel-helper-is-void-0/lib/index.js
generated
vendored
Normal file
11
node_modules/babel-helper-is-void-0/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = function (t) {
|
||||
return function isVoid0(expr) {
|
||||
return t.isUnaryExpression(expr, {
|
||||
operator: "void"
|
||||
}) && t.isNumericLiteral(expr.argument, {
|
||||
value: 0
|
||||
});
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user