Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
718 bytes
|
Line | |
---|
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 _helperCreateClassFeaturesPlugin = require("@babel/helper-create-class-features-plugin");
|
---|
11 |
|
---|
12 | var _default = (0, _helperPluginUtils.declare)((api, options) => {
|
---|
13 | api.assertVersion(7);
|
---|
14 | return (0, _helperCreateClassFeaturesPlugin.createClassFeaturePlugin)({
|
---|
15 | name: "proposal-private-methods",
|
---|
16 | api,
|
---|
17 | feature: _helperCreateClassFeaturesPlugin.FEATURES.privateMethods,
|
---|
18 | loose: options.loose,
|
---|
19 |
|
---|
20 | manipulateOptions(opts, parserOpts) {
|
---|
21 | parserOpts.plugins.push("classPrivateMethods");
|
---|
22 | }
|
---|
23 |
|
---|
24 | });
|
---|
25 | });
|
---|
26 |
|
---|
27 | exports.default = _default; |
---|
Note:
See
TracBrowser
for help on using the repository browser.