Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: tsconfig 및 관련 파일 수정, package.json에 type module 추가 #341

Merged
merged 3 commits into from
Jan 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore(shared, tsconfig): tsconfig 및 관련 파일 오름차순 정렬, 중복 제거, target ES20…
…20으로 변경
sukvvon committed Jan 4, 2024
commit 8e27db7b468bfd9718ee77998020cad124779a95
6 changes: 3 additions & 3 deletions packages/shared/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"extends": "tsconfig/base.json",
"include": [".", "svg.d.ts"],
"include": ["."],
"exclude": ["dist", "build", "node_modules"],
"compilerOptions": {
"jsx": "react-jsx",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"target": "es6",
"target": "ES2020",
"baseUrl": ".",
"paths": {
"@/*": ["../../packages/shared/*"]
18 changes: 8 additions & 10 deletions packages/tsconfig/vite.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "./base.json",
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"allowImportingTsExtensions": true,
"jsx": "react-jsx",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"sourceMap": true,
"resolveJsonModule": true,
"noEmit": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"allowImportingTsExtensions": true,
"jsx": "react-jsx"
"resolveJsonModule": true,
"sourceMap": true,
"target": "ES2020",
"useDefineForClassFields": true
},
"exclude": ["node_modules"]
}