main.js 310 B

12345678910111213141516
  1. module.exports = {
  2. "stories": [
  3. "../src/**/*.stories.@(js|jsx|ts|tsx)"
  4. ],
  5. "addons": [
  6. "@storybook/addon-links",
  7. "@storybook/addon-essentials"
  8. ],
  9. "core": {
  10. "builder": "webpack5"
  11. },
  12. "webpackFinal": (config) => {
  13. config.resolve.fallback.crypto = false;
  14. return config;
  15. },
  16. }