This is a small example showing how AMD and CommonJS can be built via Webpack.
Flight and its ecosystem of components are all written in AMD. In this example the component is written in CommonJS format and seamlessly requires AMD dependencies.
A simple example of a React component being built with a JSX compiler
# Install all node and bower deps, and run webpack
npm run setup
# run webpack
npm run build