Skip to content

Commit 882ee55

Browse files
authored
fix: storybook should use absolute paths (#3119)
1 parent f43eb0e commit 882ee55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

site/.storybook/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = {
3535
//
3636
// SEE: https://storybook.js.org/docs/react/configure/webpack
3737
webpackFinal: async (config) => {
38-
config.resolve.modules = [path.resolve(__dirname, ".."), "node_modules"]
38+
config.resolve.modules = [path.resolve(__dirname, ".."), "node_modules", "../src"]
3939
return config
4040
},
4141
}

site/src/components/ErrorSummary/ErrorSummary.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Button from "@material-ui/core/Button"
22
import RefreshIcon from "@material-ui/icons/Refresh"
3+
import { Stack } from "components/Stack/Stack"
34
import { FC } from "react"
4-
import { Stack } from "../Stack/Stack"
55

66
const Language = {
77
retryMessage: "Retry",

0 commit comments

Comments
 (0)