Skip to content

Commit

Permalink
fix: let dist command output transpiled js (#765)
Browse files Browse the repository at this point in the history
We have introduced type checks and therefore changed our
tsconfig file to only emit types to be faster.
Our dist tsconfig file extends this other file so no javascript files
were transpiled
  • Loading branch information
mstruebing authored Sep 13, 2022
1 parent 6e69daf commit 1526c4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tsconfig.designTokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"extends": "./tsconfig",
"compilerOptions": {
"outDir": "./",
"declaration": true,
"allowJs": false
"allowJs": false,
"emitDeclarationOnly": false
},
"include": ["./packages/design-tokens/build/js/designTokens.ts"]
}
4 changes: 2 additions & 2 deletions tsconfig.dist.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"declaration": true,
"allowJs": false
"allowJs": false,
"emitDeclarationOnly": false
}
}

0 comments on commit 1526c4b

Please sign in to comment.