/ cloudformation-templates / node_modules / @babel / plugin-syntax-optional-chaining / lib / index.js
index.js
1 "use strict"; 2 3 Object.defineProperty(exports, "__esModule", { 4 value: true 5 }); 6 exports.default = void 0; 7 8 var _helperPluginUtils = require("@babel/helper-plugin-utils"); 9 10 var _default = (0, _helperPluginUtils.declare)(api => { 11 api.assertVersion(7); 12 return { 13 name: "syntax-optional-chaining", 14 15 manipulateOptions(opts, parserOpts) { 16 parserOpts.plugins.push("optionalChaining"); 17 } 18 19 }; 20 }); 21 22 exports.default = _default;