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

Ability to integrate with storybook #414

@sergeyevstifeev

Description

@sergeyevstifeev

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions