diff --git a/.storybook/main.js b/.storybook/main.js index 87f51fa..2c48566 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -1,4 +1,5 @@ /** @type { import('@storybook/nextjs').StorybookConfig } */ +const path = require('path'); module.exports = { stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'], staticDirs: ['../public'], @@ -18,7 +19,7 @@ module.exports = { webpackFinal: async (config, { configType }) => { config.resolve.alias = { ...config.resolve.alias, - '@/src': path.resolve(__dirname, "../interfaces"), + '@': path.resolve(__dirname, "../src/"), }; return config;