From 69dc52bdb50f6c4a6eca00d5ef363b817425555a Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Mon, 21 Jun 2021 13:54:12 +0100 Subject: [PATCH] chore(NA): fix typescript configs to build storybooks --- packages/kbn-storybook/BUILD.bazel | 1 - packages/kbn-storybook/tsconfig.json | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/kbn-storybook/BUILD.bazel b/packages/kbn-storybook/BUILD.bazel index 3e24f192ec89c..e18256aeb8da4 100644 --- a/packages/kbn-storybook/BUILD.bazel +++ b/packages/kbn-storybook/BUILD.bazel @@ -57,7 +57,6 @@ ts_config( name = "tsconfig", src = "tsconfig.json", deps = [ - "//:tsconfig.json", "//:tsconfig.base.json", ], ) diff --git a/packages/kbn-storybook/tsconfig.json b/packages/kbn-storybook/tsconfig.json index 43db6e4ea5ce8..1f6886c45c505 100644 --- a/packages/kbn-storybook/tsconfig.json +++ b/packages/kbn-storybook/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../../tsconfig.base.json", "compilerOptions": { "incremental": true, "outDir": "target", @@ -8,6 +8,7 @@ "declarationMap": true, "sourceMap": true, "sourceRoot": "../../../../packages/kbn-storybook", + "target": "es2015", "types": ["node"] }, "include": ["*.ts", "lib/**/*.ts", "lib/**/*.tsx"]