File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments