Document event handler placement and model fetch clarification 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
568 B
JavaScript
Executable File
22 lines
568 B
JavaScript
Executable File
"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.0.0-0 || ^8.0.0-0");
|
|
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
|