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:
14
node_modules/babel-plugin-minify-mangle-names/lib/is-label-identifier.js
generated
vendored
Normal file
14
node_modules/babel-plugin-minify-mangle-names/lib/is-label-identifier.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = isLabelIdentifier;
|
||||
|
||||
function isLabelIdentifier(path) {
|
||||
const node = path.node;
|
||||
return path.parentPath.isLabeledStatement({
|
||||
label: node
|
||||
}) || path.parentPath.isBreakStatement({
|
||||
label: node
|
||||
}) || path.parentPath.isContinueStatement({
|
||||
label: node
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user