From f6461263ddddb097e407fc8df86dfc3d5a473933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Kub=C3=AD=C4=8Dek?= Date: Wed, 19 Apr 2023 13:37:26 +0200 Subject: [PATCH 1/2] feat(Storybook): Enable "buildStoriesJson" to support composition #13506 --- packages/react/.storybook/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react/.storybook/main.js b/packages/react/.storybook/main.js index bd94ba18d1d1..9e4b05f76f64 100644 --- a/packages/react/.storybook/main.js +++ b/packages/react/.storybook/main.js @@ -88,6 +88,7 @@ module.exports = { }, features: { previewCsfV3: true, + buildStoriesJson: true, }, framework: '@storybook/react', stories, From b7ad295675bdf49c03a1721baafdeba18c03780a Mon Sep 17 00:00:00 2001 From: Taylor Jones Date: Fri, 21 Apr 2023 08:00:24 -0500 Subject: [PATCH 2/2] Update netlify.toml --- netlify.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/netlify.toml b/netlify.toml index 8b8b92009e60..6f1d674655e0 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,2 +1,6 @@ [build.environment] YARN_FLAGS = "--immutable" +[[headers]] + for = "/*" + [headers.values] + Access-Control-Allow-Origin = "*"