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 = "*" 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,