source: frontend/node_modules/@babel/plugin-syntax-jsx/lib/index.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 568 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7var _helperPluginUtils = require("@babel/helper-plugin-utils");
8var _default = exports.default = (0, _helperPluginUtils.declare)(api => {
9 api.assertVersion("^7.0.0-0 || ^8.0.0-0");
10 return {
11 name: "syntax-jsx",
12 manipulateOptions(opts, parserOpts) {
13 if (parserOpts.plugins.some(p => (Array.isArray(p) ? p[0] : p) === "typescript")) {
14 return;
15 }
16 parserOpts.plugins.push("jsx");
17 }
18 };
19});
20
21//# sourceMappingURL=index.js.map
Note: See TracBrowser for help on using the repository browser.