From 75bca1771016fde7015d0f984a0efc0b1fd340bd Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Mon, 11 Nov 2024 19:11:23 +0900 Subject: [PATCH] chore: cleanup --- playground/rolldown-dev-react/src/main.tsx | 2 +- playground/rolldown-dev-react/tsconfig.json | 15 +++------------ playground/rolldown-dev-ssr/tsconfig.json | 15 +++------------ 3 files changed, 7 insertions(+), 25 deletions(-) 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" } }