Skip to content

Commit

Permalink
Using recommended tsconfig base for bun.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail committed May 8, 2024
1 parent c09f4fa commit 105fa98
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Bun.build({
await Bun.build({
entrypoints: ["src/index.ts"],
outdir: "dist",
/** @link https://github.com/oven-sh/bun/issues/159 */
Expand Down
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.0",
"@mui/system": "^5.15.0",
"@tsconfig/bun": "^1.0.5",
"@tsconfig/node18": "^18.2.2",
"@types/bun": "latest",
"@typescript-eslint/eslint-plugin": "^7.0.2",
Expand Down
10 changes: 2 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
{
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"strict": true,
"target": "ES6",
"module": "ES2022",
"moduleResolution": "Bundler",
"skipLibCheck": true
}
"extends": "@tsconfig/bun/tsconfig.json",
"compilerOptions": {}
}

0 comments on commit 105fa98

Please sign in to comment.