main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
838 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.default = void 0;
|
---|
7 | var _helperCreateRegexpFeaturesPlugin = require("@babel/helper-create-regexp-features-plugin");
|
---|
8 | var _helperPluginUtils = require("@babel/helper-plugin-utils");
|
---|
9 | var _default = exports.default = (0, _helperPluginUtils.declare)((api, options) => {
|
---|
10 | api.assertVersion("^7.19.0 || >8.0.0-alpha <8.0.0-beta");
|
---|
11 | const {
|
---|
12 | runtime
|
---|
13 | } = options;
|
---|
14 | if (runtime !== undefined && typeof runtime !== "boolean") {
|
---|
15 | throw new Error("The 'runtime' option must be boolean");
|
---|
16 | }
|
---|
17 | return (0, _helperCreateRegexpFeaturesPlugin.createRegExpFeaturePlugin)({
|
---|
18 | name: "transform-duplicate-named-capturing-groups-regex",
|
---|
19 | feature: "duplicateNamedCaptureGroups",
|
---|
20 | options: {
|
---|
21 | runtime
|
---|
22 | }
|
---|
23 | });
|
---|
24 | });
|
---|
25 |
|
---|
26 | //# sourceMappingURL=index.js.map
|
---|
Note:
See
TracBrowser
for help on using the repository browser.