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

Webpack + Babel for JSX + React 14 support. #29

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

tappleby
Copy link

This PR adds support for React 0.14 (#17), it expands on #21 but also includes updates to examples and removes warnings in test.

I had issues getting the existing build toolchain to work properly and since there was already talk of webpack (#2, #3), I switched to using Webpack + Babel 6 (only the react preset).

Running npm build will now output the following:

  • lib: transformed output from babel (babel src --out-dir lib).
  • dist: UMD build from Webpack + babel (both dev + min versions).

I have removed the dist folder from source control and have updated npm to include src, lib and dist. My intent with this was to remove compiled source from version control and use something like https://npmcdn.com to serve the dist builds from whats published on npm.

@@ -1,289 +0,0 @@
Typeahead, written using the React.js library.
Copy link

Choose a reason for hiding this comment

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

Why is this README.md deleted?

Copy link
Author

Choose a reason for hiding this comment

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

The whole dist folder is removed from source control with this PR.

It's been a while but I believe the readmes were identical.

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.

2 participants