diff --git a/angular.json b/angular.json index d6e484cc..26f7fd6f 100644 --- a/angular.json +++ b/angular.json @@ -40,7 +40,7 @@ "builder": "@storybook/angular:start-storybook", "options": { "configDir": "projects/swimlane/ngx-graph/.storybook", - "tsConfig": "tsconfig.json", + "tsConfig": "projects/swimlane/ngx-graph/.storybook/tsconfig.json", "browserTarget": "@swimlane/ngx-graph:build", "compodoc": true, "compodocArgs": ["-e", "json", "-d", ".", "projects/swimlane/ngx-graph"], @@ -51,7 +51,7 @@ "builder": "@storybook/angular:build-storybook", "options": { "configDir": "projects/swimlane/ngx-graph/.storybook", - "tsConfig": "tsconfig.json", + "tsConfig": "projects/swimlane/ngx-graph/.storybook/tsconfig.json", "browserTarget": "@swimlane/ngx-graph:build", "compodoc": true, "compodocArgs": ["-e", "json", "-d", ".", "projects/swimlane/ngx-graph"], diff --git a/projects/swimlane/ngx-graph/.storybook/tsconfig.json b/projects/swimlane/ngx-graph/.storybook/tsconfig.json index a4c47d3b..e424702c 100644 --- a/projects/swimlane/ngx-graph/.storybook/tsconfig.json +++ b/projects/swimlane/ngx-graph/.storybook/tsconfig.json @@ -1,8 +1,8 @@ { - "extends": "../tsconfig.lib.json", + "extends": "../../../../tsconfig.json", "compilerOptions": { "types": ["node"], - "typeRoots": ["node_modules/@types"], + "typeRoots": ["../../../../node_modules/@types"], "allowSyntheticDefaultImports": true, "resolveJsonModule": true },