[ci] format
This commit is contained in:
parent
8eb3a8c6d9
commit
5be35fd69b
1 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,9 @@ function getRenderer() {
|
|||
jsxTransformOptions: async () => {
|
||||
// @ts-expect-error types not found
|
||||
const babelPluginTransformReactJsxModule = await import('@babel/plugin-transform-react-jsx');
|
||||
const jsx = babelPluginTransformReactJsxModule?.default?.default ?? babelPluginTransformReactJsxModule?.default;
|
||||
const jsx =
|
||||
babelPluginTransformReactJsxModule?.default?.default ??
|
||||
babelPluginTransformReactJsxModule?.default;
|
||||
return {
|
||||
plugins: [
|
||||
jsx(
|
||||
|
|
Loading…
Reference in a new issue