main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
772 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.default = void 0;
|
---|
7 | var _helperPluginUtils = require("@babel/helper-plugin-utils");
|
---|
8 | var _helperCreateClassFeaturesPlugin = require("@babel/helper-create-class-features-plugin");
|
---|
9 | var _default = exports.default = (0, _helperPluginUtils.declare)((api, options) => {
|
---|
10 | api.assertVersion(7);
|
---|
11 | return (0, _helperCreateClassFeaturesPlugin.createClassFeaturePlugin)({
|
---|
12 | name: "transform-class-properties",
|
---|
13 | api,
|
---|
14 | feature: _helperCreateClassFeaturesPlugin.FEATURES.fields,
|
---|
15 | loose: options.loose,
|
---|
16 | manipulateOptions(opts, parserOpts) {
|
---|
17 | {
|
---|
18 | parserOpts.plugins.push("classProperties", "classPrivateProperties");
|
---|
19 | }
|
---|
20 | }
|
---|
21 | });
|
---|
22 | });
|
---|
23 |
|
---|
24 | //# sourceMappingURL=index.js.map
|
---|
Note:
See
TracBrowser
for help on using the repository browser.