Skip to content

Commit

Permalink
BI-42: fix storybook import aliases error
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushtiwari110 committed Dec 16, 2023
1 parent aac68da commit 42e40c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
@@ -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'],
Expand All @@ -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;
Expand Down

0 comments on commit 42e40c6

Please sign in to comment.