tahamajs/IE / Projects /front /node_modules /@babel /plugin-transform-member-expression-literals /lib /index.js
tahamajs/IE / Projects /front /node_modules /@babel /plugin-transform-member-expression-literals /lib /index.js
| ; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| exports.default = void 0; | |
| var _helperPluginUtils = require("@babel/helper-plugin-utils"); | |
| var _core = require("@babel/core"); | |
| var _default = exports.default = (0, _helperPluginUtils.declare)(api => { | |
| api.assertVersion(7); | |
| return { | |
| name: "transform-member-expression-literals", | |
| visitor: { | |
| MemberExpression: { | |
| exit({ | |
| node | |
| }) { | |
| const prop = node.property; | |
| if (!node.computed && _core.types.isIdentifier(prop) && !_core.types.isValidES3Identifier(prop.name)) { | |
| node.property = _core.types.stringLiteral(prop.name); | |
| node.computed = true; | |
| } | |
| } | |
| } | |
| } | |
| }; | |
| }); | |
| //# sourceMappingURL=index.js.map | |
Xet Storage Details
- Size:
- 781 Bytes
- Xet hash:
- 22e1bde3f1d4dce9621a938f4b9e8420bf05b840374e964bc1919b82a19f07ba
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.