Skip to content

Commit

Permalink
fix(storybook): fix fallback urls
Browse files Browse the repository at this point in the history
  • Loading branch information
masoudmanson committed Feb 8, 2024
1 parent 08e889a commit 028c8ad
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ module.exports = ({ config }) => {
],
};

// Redirect module requests when normal resolving fails.
config.resolve.fallback = {
"@czi-sds/components": path.resolve(
__dirname,
"../packages/components/src"
),
"@czi-sds/data-viz": path.resolve(__dirname, "../packages/data-viz/src"),
"@czi-sds/components": path.resolve(__dirname, "../packages/components"),
"@czi-sds/data-viz": path.resolve(__dirname, "../packages/data-viz"),
};

// remove svg from existing rule
Expand Down

0 comments on commit 028c8ad

Please sign in to comment.