This commit is contained in:
14
node_modules/astro/dist/jsx/transform-options.js
generated
vendored
14
node_modules/astro/dist/jsx/transform-options.js
generated
vendored
@@ -1,14 +0,0 @@
|
||||
async function jsxTransformOptions() {
|
||||
const plugin = await import("@babel/plugin-transform-react-jsx");
|
||||
const jsx = plugin.default?.default ?? plugin.default;
|
||||
const { default: astroJSX } = await import("./babel.js");
|
||||
return {
|
||||
plugins: [
|
||||
astroJSX(),
|
||||
jsx({}, { throwIfNamespace: false, runtime: "automatic", importSource: "astro" })
|
||||
]
|
||||
};
|
||||
}
|
||||
export {
|
||||
jsxTransformOptions
|
||||
};
|
||||
Reference in New Issue
Block a user