packages/cli: use separate tsconfig for builds to get currect config in tests

This commit is contained in:
Patrik Oldsberg
2020-04-18 14:47:46 +02:00
parent fe5844038e
commit 7584350834
4 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ if (!isLocal || process.env.BACKSTAGE_E2E_CLI_TEST) {
const cleanupPaths = require('tsconfig-paths').register({ baseUrl, paths });
require('ts-node').register({
project: path.resolve(__dirname, '../tsconfig.json'),
project: path.resolve(__dirname, '../tsconfig.build.json'),
compilerOptions: {
module: 'CommonJS',
},