Skip to content

Commit

Permalink
fix: image url
Browse files Browse the repository at this point in the history
  • Loading branch information
foryuki committed Nov 5, 2018
1 parent c5931bb commit f36f0e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/.storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ module.exports = (baseConfig, env, defaultConfig) => {
]
})

if (env === 'production'.toUpperCase()) {
defaultConfig.output.publicPath = '/menu/'
}

defaultConfig.resolve.alias['or-menu'] = path.resolve(__dirname, '../../src')

defaultConfig.resolve.extensions.push('.ts', '.tsx')
Expand Down

0 comments on commit f36f0e5

Please sign in to comment.