Sha256: 467234ef4029984eda0169e6d4f044cd1a43c2cc8d0c8eaaf2b9c8e596a29e74

Contents?: true

Size: 595 Bytes

Versions: 24

Compression:

Stored size: 595 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = _default;

var _helperCreateRegexpFeaturesPlugin = require("@babel/helper-create-regexp-features-plugin");

function _default(core, options) {
  const {
    runtime = true
  } = options;

  if (typeof runtime !== "boolean") {
    throw new Error("The 'runtime' option must be boolean");
  }

  return (0, _helperCreateRegexpFeaturesPlugin.createRegExpFeaturePlugin)({
    name: "transform-named-capturing-groups-regex",
    feature: "namedCaptureGroups",
    options: {
      runtime
    }
  });
}

Version data entries

24 entries across 23 versions & 7 rubygems

Version Path
condenser-0.0.12 lib/condenser/processors/node_modules/@babel/plugin-transform-named-capturing-groups-regex/lib/index.js
condenser-0.0.11 lib/condenser/processors/node_modules/@babel/plugin-transform-named-capturing-groups-regex/lib/index.js
condenser-0.0.10 lib/condenser/processors/node_modules/@babel/plugin-transform-named-capturing-groups-regex/lib/index.js
condenser-0.0.9 lib/condenser/processors/node_modules/@babel/plugin-transform-named-capturing-groups-regex/lib/index.js