Skip to content

Commit

Permalink
Better fix for evanw/esbuild#3307
Browse files Browse the repository at this point in the history
  • Loading branch information
pfumagalli committed Aug 11, 2023
1 parent 0f7b65a commit 66a24a5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 17 deletions.
2 changes: 0 additions & 2 deletions build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ const esbuildOptions: ESBuildOptions = {
sourcemap: 'linked',
sourcesContent: false,
plugins: [ fixExtensions() ],
// TODO: workaround for https://github.com/evanw/esbuild/issues/3307
tsconfigRaw: { compilerOptions: { baseUrl: false } },
}

/* ========================================================================== *
Expand Down
29 changes: 14 additions & 15 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,21 @@
"compilerOptions": {
// Monorepo setup
"rootDir": ".",
"baseUrl": "./",
"paths": {
"@plugjs/cov8": [ "workspaces/cov8/src" ],
"@plugjs/cov8/*": [ "workspaces/cov8/src/*" ],
"@plugjs/eslint": [ "workspaces/eslint/src" ],
"@plugjs/eslint/*": [ "workspaces/eslint/src/*" ],
"@plugjs/expect5": [ "workspaces/expect5/src" ],
"@plugjs/expect5/*": [ "workspaces/expect5/src/*" ],
"@plugjs/plug": [ "workspaces/plug/src" ],
"@plugjs/plug/*": [ "workspaces/plug/src/*" ],
"@plugjs/tsd": [ "workspaces/tsd/src" ],
"@plugjs/tsd/*": [ "workspaces/tsd/src/*" ],
"@plugjs/typescript": [ "workspaces/typescript/src" ],
"@plugjs/typescript/*": [ "workspaces/typescript/src/*" ],
"@plugjs/zip": [ "workspaces/zip/src" ],
"@plugjs/zip/*": [ "workspaces/zip/src/*" ],
"@plugjs/cov8": [ "./workspaces/cov8/src" ],
"@plugjs/cov8/*": [ "./workspaces/cov8/src/*" ],
"@plugjs/eslint": [ "./workspaces/eslint/src" ],
"@plugjs/eslint/*": [ "./workspaces/eslint/src/*" ],
"@plugjs/expect5": [ "./workspaces/expect5/src" ],
"@plugjs/expect5/*": [ "./workspaces/expect5/src/*" ],
"@plugjs/plug": [ "./workspaces/plug/src" ],
"@plugjs/plug/*": [ "./workspaces/plug/src/*" ],
"@plugjs/tsd": [ "./workspaces/tsd/src" ],
"@plugjs/tsd/*": [ "./workspaces/tsd/src/*" ],
"@plugjs/typescript": [ "./workspaces/typescript/src" ],
"@plugjs/typescript/*": [ "./workspaces/typescript/src/*" ],
"@plugjs/zip": [ "./workspaces/zip/src" ],
"@plugjs/zip/*": [ "./workspaces/zip/src/*" ],
},
},
"include": [
Expand Down

0 comments on commit 66a24a5

Please sign in to comment.