|
Last change
on this file since cdcff72 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 |
|
|---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
|---|
| 4 | value: true
|
|---|
| 5 | });
|
|---|
| 6 | exports.default = void 0;
|
|---|
| 7 | var _helperPluginUtils = require("@babel/helper-plugin-utils");
|
|---|
| 8 | var _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.