diff options
Diffstat (limited to 'node_modules/@babel/plugin-syntax-unicode-sets-regex/lib/index.js')
| -rw-r--r-- | node_modules/@babel/plugin-syntax-unicode-sets-regex/lib/index.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/node_modules/@babel/plugin-syntax-unicode-sets-regex/lib/index.js b/node_modules/@babel/plugin-syntax-unicode-sets-regex/lib/index.js new file mode 100644 index 00000000..a029235a --- /dev/null +++ b/node_modules/@babel/plugin-syntax-unicode-sets-regex/lib/index.js @@ -0,0 +1,25 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +var _helperCreateRegexpFeaturesPlugin = require("@babel/helper-create-regexp-features-plugin"); + +var _helperPluginUtils = require("@babel/helper-plugin-utils"); + +var _default = (0, _helperPluginUtils.declare)(api => { + api.assertVersion(7); + return (0, _helperCreateRegexpFeaturesPlugin.createRegExpFeaturePlugin)({ + name: "syntax-unicode-sets-regex", + feature: "unicodeSetsFlag_syntax", + + manipulateOptions(opts, parserOpts) { + parserOpts.plugins.push("regexpUnicodeSets"); + } + + }); +}); + +exports.default = _default;
\ No newline at end of file |
