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

Update defaults to match create-react-app #342

Merged
merged 11 commits into from
Aug 1, 2016
Merged

Update defaults to match create-react-app #342

merged 11 commits into from
Aug 1, 2016

Conversation

arunoda
Copy link
Member

@arunoda arunoda commented Aug 1, 2016

Create React App is setting some default build infrastructure for React apps. We had an issue of deciding what's the default config is.

Now we support, create-react-app's settings as the defaults. That means, we could use react-storybook with create-react-app based projects without doing any webpack configurations.

This comes with following core changes:

  • Add postcss based CSS loader.
  • Add file-loader for images and common types.
  • Add url-loader for shorter media files.
  • Do not pre-build manager(storybook UI) bundle.
  • Continue support for babel's stage-0 preset and add es2016 preset.

@arunoda arunoda merged commit bb426b8 into master Aug 1, 2016
@arunoda arunoda deleted the update-defaults branch August 1, 2016 10:00
@willianjusten
Copy link

Great Work @arunoda, this will help me a lot! \o/

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

Successfully merging this pull request may close these issues.

3 participants