react-typeahead-component icon indicating copy to clipboard operation
react-typeahead-component copied to clipboard

Webpack + Babel for JSX + React 14 support.

Open tappleby opened this issue 8 years ago • 0 comments

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.

tappleby avatar Dec 19 '15 07:12 tappleby