Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Ability to integrate with storybook #414

Open
sergeyevstifeev opened this issue Nov 16, 2017 · 1 comment
Open

Ability to integrate with storybook #414

sergeyevstifeev opened this issue Nov 16, 2017 · 1 comment

Comments

@sergeyevstifeev
Copy link

It would be amazing if sagui provided a way to integrate with storybook. For this, webpack configuration has to be exposed by sagui. So that something like this would be possible in storybook webpack.config:

module.exports = (baseConfig, env) => {
  const webpackConfig = saguiConfig.webpackConfig // missing
  const config = genDefaultConfig(baseConfig, env)
  
  config.devtool = webpackConfig.devtool
  config.resolve.extensions = webpackConfig.resolve.extensions
  config.module.rules = webpackConfig.module.loaders

  ...
  return config
}
@Kadrei
Copy link

Kadrei commented Nov 17, 2017

Seems related to #403

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants