Skip to content

Commit

Permalink
fix: build storybook with webpack 5
Browse files Browse the repository at this point in the history
  • Loading branch information
gndz07 committed Jan 10, 2023
1 parent 005a545 commit 81ef6f1
Show file tree
Hide file tree
Showing 6 changed files with 27,755 additions and 22,969 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
3 changes: 3 additions & 0 deletions .storybook/main.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
core: {
builder: 'webpack5',
},
features: {
previewMdx2: true,
},
Expand Down
1 change: 1 addition & 0 deletions .storybook/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
2 changes: 1 addition & 1 deletion components/Navigation/Navigation.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import { modifyVariantsForStory } from '../../utils/modifyVariantsForStory';
import { Badge } from '../Badge';
import { Text } from '../Text';
import { useDebouncedCallback } from 'use-debounce/lib';
import { useDebouncedCallback } from 'use-debounce';

export default {
title: 'Components/Navigation',
Expand Down
Loading

0 comments on commit 81ef6f1

Please sign in to comment.