diff --git a/.changesets/11746.md b/.changesets/11746.md new file mode 100644 index 000000000000..fbf97dbd239c --- /dev/null +++ b/.changesets/11746.md @@ -0,0 +1,3 @@ +- Fix absolute & component folder imports in Storybook config folder (#11746) by @Philzen + +Include the storybook config folder in the includes in `{ts,js}config.json` diff --git a/__fixtures__/test-project/web/tsconfig.json b/__fixtures__/test-project/web/tsconfig.json index 7ef0021926ae..f709fbeb4325 100644 --- a/__fixtures__/test-project/web/tsconfig.json +++ b/__fixtures__/test-project/web/tsconfig.json @@ -35,6 +35,7 @@ "include": [ "src", "config", + ".storybook/**/*", "../.redwood/types/includes/all-*", "../.redwood/types/includes/web-*", "../types", diff --git a/packages/create-redwood-app/templates/js/web/jsconfig.json b/packages/create-redwood-app/templates/js/web/jsconfig.json index fbf497d1bf1e..d8d5c5da8847 100644 --- a/packages/create-redwood-app/templates/js/web/jsconfig.json +++ b/packages/create-redwood-app/templates/js/web/jsconfig.json @@ -44,6 +44,7 @@ "include": [ "src", "config", + ".storybook/**/*", "../.redwood/types/includes/all-*", "../.redwood/types/includes/web-*", "../types", diff --git a/packages/create-redwood-app/templates/ts/web/tsconfig.json b/packages/create-redwood-app/templates/ts/web/tsconfig.json index 7ef0021926ae..f709fbeb4325 100644 --- a/packages/create-redwood-app/templates/ts/web/tsconfig.json +++ b/packages/create-redwood-app/templates/ts/web/tsconfig.json @@ -35,6 +35,7 @@ "include": [ "src", "config", + ".storybook/**/*", "../.redwood/types/includes/all-*", "../.redwood/types/includes/web-*", "../types",