text: const path = require('path')
  
  module.exports = {
    "stories": [
      "../src/**/*.stories.mdx",
      "../src/**/*.stories.@(js|jsx|ts|tsx)"
    ],
    "addons": [
      "@storybook/addon-links",
      "@storybook/addon-essentials"
    ],
    webpackFinal: async (config) => {
      config.module.rules.push({
        test: /\,css&/,
        use: [
          {
            loader: 'postcss-loader',
            options: {
              ident: 'postcss',
              plugins: [
                require('tailwindcss/nesting'),
                require('postcss-sassy-mixins'),
                require('tailwindcss'),
                require('autoprefixer')
              ]
            }
          }
        ],
        include: path.resolve(__dirname, '../'),
      })
      return config
    }
  }