Skip to content

Commit

Permalink
Fix build step for toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
msfstef committed Apr 23, 2024
1 parent bb1b238 commit 4017938
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/toolbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"author": "ElectricSQL",
"license": "Apache-2.0",
"scripts": {
"build": "rm -rf ./dist && node builder.js && tsc --emitDeclarationOnly --outDir dist",
"build": "rm -rf ./dist && node builder.js && tsc -p tsconfig.build.json",
"check-styleguide": "prettier --check --loglevel warn .",
"typecheck": "tsc --noEmit",
"test": "vitest run"
Expand Down
12 changes: 12 additions & 0 deletions components/toolbar/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"composite": false,
"rootDir": "src",
"declaration": true,
"noEmit": false,
"emitDeclarationOnly": true,
"incremental": false
},
"extends": "./tsconfig.json",
"include": ["src"]
}
1 change: 1 addition & 0 deletions components/toolbar/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"lib": ["ESNext", "DOM"],
"module": "ESNext",
"moduleResolution": "bundler",
"noEmit": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
Expand Down

0 comments on commit 4017938

Please sign in to comment.