Updated JSX element and fragment creation function names to the new canonical ones.

This commit is contained in:
flash 2025-04-11 15:05:56 +00:00
parent 4f91fc6b10
commit caac7a66bd
Signed by: flash
GPG key ID: 2C9C2C574D47FE3E

View file

@ -32,8 +32,8 @@ module.exports = function(env) {
transform: { transform: {
react: { react: {
runtime: 'classic', runtime: 'classic',
pragma: env.swc?.jsx ?? '$jsx', pragma: env.swc?.jsx ?? '$element',
pragmaFrag: env.swc?.jsxf ?? '$jsxf', pragmaFrag: env.swc?.jsxf ?? '$fragment',
}, },
}, },
}; };