From 5bf4ef2b532a3dc16ae6c56a6472b5cab73758ba Mon Sep 17 00:00:00 2001 From: Callin Mullaney <57088-callinmullaney@users.noreply.drupalcode.org> Date: Mon, 22 Jul 2024 08:36:20 -0500 Subject: [PATCH] feat: add default main.js to config that passes an empty object --- whisk/config/emulsify-core/storybook/main.js | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 whisk/config/emulsify-core/storybook/main.js diff --git a/whisk/config/emulsify-core/storybook/main.js b/whisk/config/emulsify-core/storybook/main.js new file mode 100644 index 0000000..e18b2ab --- /dev/null +++ b/whisk/config/emulsify-core/storybook/main.js @@ -0,0 +1,30 @@ +// Pass an empty configOverrides by default. +const configOverrides = {}; + +// Uncomment the following section to override the default Emulsify Core configuration. +// Doing so is a complete override so no configuration from Emulsify Core's main.js will be inherited. +// See https://storybook.js.org/docs/7/configure for details. +// const configOverrides = { +// stories: [ +// '../../../../components/**/*.stories.@(js|jsx|ts|tsx)', +// ], +// addons: [ +// '../../../@storybook/addon-a11y', +// '../../../@storybook/addon-links', +// '../../../@storybook/addon-essentials', +// '../../../@storybook/addon-themes', +// '../../../@storybook/addon-styling-webpack' +// ], +// core: { +// builder: 'webpack5', +// }, +// framework: { +// name: '@storybook/html-webpack5', +// options: {}, +// }, +// docs: { +// autodocs: true, +// }, +// }; + +module.exports = {configOverrides}; \ No newline at end of file