Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build Error] Latest webpack config is using old webpack 1 schema again !? #1362

Closed
BerndWessels opened this issue Jun 26, 2017 · 2 comments
Closed

Comments

@BerndWessels
Copy link

Hi
"@ kadira/storybook": "2.35.3"

is using the old webpack 1 config again - see here node_modules\@kadira\storybook\dist\server\config.js:

exports.default = function (configType, baseConfig, configDir) {
  var config = baseConfig;

  var babelConfig = (0, _babel_config2.default)(configDir);
  config.module.loaders[0].query = babelConfig;

As you can see it uses module.loaders rather than module.rules.

I can't tell exactly at which version of storybook that bug was introduced but it is now breaking all my builds.

@shilman
Copy link
Member

shilman commented Jun 27, 2017

@BerndWessels @kadira/storybook is version 2.5.3. you want @storybook/react which is 3.x and uses webpack2

@BerndWessels
Copy link
Author

Thank you.

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

No branches or pull requests

3 participants