Skip to content

Commit 0a20224

Browse files
committed
chore: fix docs site
1 parent bc8b811 commit 0a20224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/iles/src/node/plugin/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ import.meta.hot?.accept('/${relative(root, path)}', (...args) => __ILES_PAGE_UPD
244244
appConfig.jsx === 'preact' && {
245245
name: 'iles:preact-jsx-config',
246246
config () {
247-
return { oxc: { include: /\.(tsx?|jsx)$/ } }
247+
return { oxc: { jsx: { runtime: 'automatic', importSource: 'preact' }, include: /\.(tsx?|jsx)$/ } }
248248
},
249249
},
250250
]

0 commit comments

Comments
 (0)