Skip to content

Commit 53a2035

Browse files
committed
fixup!
1 parent 3f0043e commit 53a2035

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/generators/web/utils/bundle.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ export default async function bundleCode(code, { server = false } = {}) {
5656
SERVER: String(server),
5757
CLIENT: String(!server),
5858
},
59-
},
6059

61-
// JSX transformation configuration.
62-
// `'react-jsx'` enables the automatic JSX runtime, which doesn't require `import React`.
63-
// Since we're using Preact via aliasing, this setting works well with `preact/compat`.
64-
jsx: 'react-jsx',
60+
// JSX transformation configuration.
61+
// `'react-jsx'` enables the automatic JSX runtime, which doesn't require `import React`.
62+
// Since we're using Preact via aliasing, this setting works well with `preact/compat`.
63+
jsx: 'react-jsx',
64+
},
6565

6666
// Module resolution aliases.
6767
// This tells the bundler to use `preact/compat` wherever `react` or `react-dom` is imported.

0 commit comments

Comments
 (0)