Sha256: bc583f8a440c7a45f908100c9a806b50c23c2f7db056e8aa06de38e93ffc308d

Contents?: true

Size: 569 Bytes

Versions: 14

Compression:

Stored size: 569 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _default = exports.default = (0, _helperPluginUtils.declare)(api => {
  api.assertVersion(7);
  return {
    name: "syntax-jsx",
    manipulateOptions(opts, parserOpts) {
      {
        if (parserOpts.plugins.some(p => (Array.isArray(p) ? p[0] : p) === "typescript")) {
          return;
        }
      }
      parserOpts.plugins.push("jsx");
    }
  };
});

//# sourceMappingURL=index.js.map

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/@babel/plugin-syntax-jsx/lib/index.js
immosquare-cleaner-0.1.50 node_modules/@babel/plugin-syntax-jsx/lib/index.js
immosquare-cleaner-0.1.49 node_modules/@babel/plugin-syntax-jsx/lib/index.js
immosquare-cleaner-0.1.48 node_modules/@babel/plugin-syntax-jsx/lib/index.js
immosquare-cleaner-0.1.47 node_modules/@babel/plugin-syntax-jsx/lib/index.js
immosquare-cleaner-0.1.46 node_modules/@babel/plugin-syntax-jsx/lib/index.js
immosquare-cleaner-0.1.45 node_modules/@babel/plugin-syntax-jsx/lib/index.js
immosquare-cleaner-0.1.44 node_modules/@babel/plugin-syntax-jsx/lib/index.js
immosquare-cleaner-0.1.43 node_modules/@babel/plugin-syntax-jsx/lib/index.js
immosquare-cleaner-0.1.42 node_modules/@babel/plugin-syntax-jsx/lib/index.js
immosquare-cleaner-0.1.41 node_modules/@babel/plugin-syntax-jsx/lib/index.js
immosquare-cleaner-0.1.40 node_modules/@babel/plugin-syntax-jsx/lib/index.js
immosquare-cleaner-0.1.39 node_modules/@babel/plugin-syntax-jsx/lib/index.js
immosquare-cleaner-0.1.38 node_modules/@babel/plugin-syntax-jsx/lib/index.js