index.js 527 B

1234567891011121314151617181920
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. var _helperCreateRegexpFeaturesPlugin = require("@babel/helper-create-regexp-features-plugin");
  7. var _helperPluginUtils = require("@babel/helper-plugin-utils");
  8. var _default = (0, _helperPluginUtils.declare)(api => {
  9. api.assertVersion(7);
  10. return (0, _helperCreateRegexpFeaturesPlugin.createRegExpFeaturePlugin)({
  11. name: "transform-unicode-regex",
  12. feature: "unicodeFlag"
  13. });
  14. });
  15. exports.default = _default;