diff --git a/playground/rolldown-dev-react/src/main.tsx b/playground/rolldown-dev-react/src/main.tsx index ade9e415f8f7c7..954d0f3158a328 100644 --- a/playground/rolldown-dev-react/src/main.tsx +++ b/playground/rolldown-dev-react/src/main.tsx @@ -1,6 +1,6 @@ import React from 'react' import ReactDOMClient from 'react-dom/client' -import { App } from './app.tsx' +import { App } from './app' ReactDOMClient.createRoot(document.getElementById('root')!).render( diff --git a/playground/rolldown-dev-react/tsconfig.json b/playground/rolldown-dev-react/tsconfig.json index e12edac8af75da..bde6a8a19bbb41 100644 --- a/playground/rolldown-dev-react/tsconfig.json +++ b/playground/rolldown-dev-react/tsconfig.json @@ -1,16 +1,7 @@ { - "include": ["src", "*.ts"], + "extends": "../tsconfig.json", + "include": ["src", ".ts"], "compilerOptions": { - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "verbatimModuleSyntax": true, - "allowImportingTsExtensions": true, - "moduleResolution": "Bundler", - "module": "ESNext", - "target": "ESNext", - "lib": ["ESNext", "DOM"], - "jsx": "react-jsx", - "noEmit": true + "jsx": "react-jsx" } } diff --git a/playground/rolldown-dev-ssr/tsconfig.json b/playground/rolldown-dev-ssr/tsconfig.json index e12edac8af75da..bde6a8a19bbb41 100644 --- a/playground/rolldown-dev-ssr/tsconfig.json +++ b/playground/rolldown-dev-ssr/tsconfig.json @@ -1,16 +1,7 @@ { - "include": ["src", "*.ts"], + "extends": "../tsconfig.json", + "include": ["src", ".ts"], "compilerOptions": { - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "verbatimModuleSyntax": true, - "allowImportingTsExtensions": true, - "moduleResolution": "Bundler", - "module": "ESNext", - "target": "ESNext", - "lib": ["ESNext", "DOM"], - "jsx": "react-jsx", - "noEmit": true + "jsx": "react-jsx" } }