Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Add note about webpack version #8

Merged
merged 2 commits into from
Apr 28, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ export default {
id: 'custom-webpack-config',
title: 'Custom Webpack Config',
content: stripIndent`
**NOTE: Storybook doesn't currently support webpack 2, so write your storybook webpack config to be
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include in one line, otherwise it renders like this:

custom_webpack_config_-_react_storybook

webpack 1.x-compatable.**

The default Webpack config of React Storybook is usually well balanced for a medium-size React project (specially created with [Create React App](https://github.com/facebookincubator/create-react-app)) or a library. But if you already have your own Webpack setup, that's not useable.

That's why we allow you to customize our Webpack setup. There are a few ways to do it. Let's discuss:
Expand Down