Skip to content

Commit

Permalink
fix: updated storybook instead of web components
Browse files Browse the repository at this point in the history
  • Loading branch information
harshil1793 committed Oct 27, 2023
1 parent 017063a commit 7dcabb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/storybook/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ module.exports = {
core: {
builder: 'webpack5',
},
output: {
publicPath: process.env.ENV === 'production' ? '/storybook/' : '/',
},

webpackFinal: async (config, { configType }) => {
// `configType` has a value of 'DEVELOPMENT' or 'PRODUCTION'
Expand Down
1 change: 0 additions & 1 deletion packages/web-components/stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export const config: Config = {
},
{
type: 'www',
dir: process.env.ENV === 'production' ? '/storybook' : '',
serviceWorker: null, // disable service workers
},
],
Expand Down

0 comments on commit 7dcabb9

Please sign in to comment.