We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7901cb8 commit 57a337dCopy full SHA for 57a337d
src/components/Configuration.tsx
@@ -468,7 +468,8 @@ export default function Configuration(props: Props) {
468
isChecked={!!(parsedSwcConfig.jsc?.experimental as Record<string, unknown>)
469
?.emitIsolatedDts}
470
onChange={handleToggleIsolatedDts}
471
- disabled={semver.lt(props.swcVersion, '1.10.0')}
+ disabled={semver.lt(props.swcVersion, '1.10.0') ||
472
+ parsedSwcConfig.jsc?.parser?.syntax !== 'typescript'}
473
/>
474
<FormLabel htmlFor="emit-isolated-dts" ml="2" mb="0">
475
Emit Isolated .d.ts
0 commit comments