Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherChudzicki committed Jul 16, 2024
1 parent a6677d3 commit cf530de
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontends/mit-open/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ const config = {
"../../ol-components/src/**/*.mdx",
"../../ol-components/src/**/*.stories.@(tsx|ts)",
],
staticDirs: [
{ from: "../public", to: `${process.env.STORYBOOK_ROOT_URL ?? ""}/static` },
],
staticDirs: [{ from: "../public", to: "/static" }],
addons: [
getAbsolutePath("@storybook/addon-links"),
getAbsolutePath("@storybook/addon-essentials"),
Expand All @@ -42,6 +40,10 @@ const config = {
embedlyKey: process.env.EMBEDLY_KEY || "",
},
}),
webpackFinal: async (config: any) => {
config.output.publicPath = "mit-open/static"
return config
},
}

export default config

0 comments on commit cf530de

Please sign in to comment.