Updated JSX element and fragment creation function names to the new canonical ones.
This commit is contained in:
parent
4f91fc6b10
commit
caac7a66bd
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ module.exports = function(env) {
|
|||
transform: {
|
||||
react: {
|
||||
runtime: 'classic',
|
||||
pragma: env.swc?.jsx ?? '$jsx',
|
||||
pragmaFrag: env.swc?.jsxf ?? '$jsxf',
|
||||
pragma: env.swc?.jsx ?? '$element',
|
||||
pragmaFrag: env.swc?.jsxf ?? '$fragment',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue