From 40f79a9d674ca1201f8e8431d87e33a154dbb6b4 Mon Sep 17 00:00:00 2001 From: Tristan Watanabe Date: Sat, 22 Oct 2022 15:40:57 -0700 Subject: [PATCH 1/2] fix: account for new stories path in packages --- .storybook/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.storybook/main.js b/.storybook/main.js index eaa33435ff146..93798b7555e12 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -71,7 +71,7 @@ module.exports = /** @type {Omit} */ ({ */ enforce: 'post', test: /\.stories\.tsx$/, - include: /src/, + include: /stories|src/, exclude: /node_modules/, use: { loader: 'babel-loader', From eadcae83c4c49ff76737cd6702c40ef83bff6ceb Mon Sep 17 00:00:00 2001 From: Tristan Watanabe Date: Sat, 22 Oct 2022 15:48:12 -0700 Subject: [PATCH 2/2] chore: add TODO comment --- .storybook/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.storybook/main.js b/.storybook/main.js index 93798b7555e12..cce2e61868cd3 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -71,6 +71,7 @@ module.exports = /** @type {Omit} */ ({ */ enforce: 'post', test: /\.stories\.tsx$/, + //TODO: simplify once all v9 packages have been migrated to new package structure. Tracking work: https://github.com/microsoft/fluentui/issues/24129 include: /stories|src/, exclude: /node_modules/, use: {