text: const path = require("path");
  
  module.exports = {
    stories: ['../src/components/**/stories.tsx'],
    addons: [
      '@storybook/addon-links',
      '@storybook/addon-essentials',
      '@storybook/addon-controls'
    ],
    webpackFinal: async (config, { configType }) => {
      config.resolve.modules = [
        path.resolve(__dirname, ".."),
        "node_modules",
      ]
  
      config.resolve.alias = {
        ...config.resolve.alias,
        "@/components": path.resolve(__dirname, "../src/components")
      };
      return config;
    }
  }
  