Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Feb 8, 2024
1 parent a37d0b7 commit a37c0e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"changeset": "changeset",
"changeset:release": "bun run build && changeset publish",
"changeset:version": "changeset version && bun install --lockfile-only",
"clean": "rimraf src/index.js src/lib src/tsconfig.build.tsbuildinfo",
"clean": "rimraf src/_lib src/tsconfig.build.tsbuildinfo",
"format": "biome format . --write",
"lint": "biome check . --apply",
"preconstruct": "bun run scripts/preconstruct.ts",
Expand Down
2 changes: 2 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
"module": "NodeNext",
"target": "ES2021", // Setting this to `ES2021` enables native support for `Node v16+`: https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping.
"lib": ["ES2022", "DOM"],
"jsx": "react-jsx",
"jsxImportSource": "hono/jsx",

// Skip type checking for node modules
"skipLibCheck": true
Expand Down
6 changes: 1 addition & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
// This configuration is used for local development and type checking.
"extends": "./tsconfig.base.json",
"include": ["src"],
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "hono/jsx"
}
"include": ["src"]
}

0 comments on commit a37c0e7

Please sign in to comment.