AMD and CommonJS examples with Webpack
Switch branches/tags
Nothing to show
Clone or download
Latest commit 94d875b Nov 4, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo Update demo Nov 4, 2014
flight_components Add module sharing Nov 4, 2014
react_components
.gitignore Simplify flight example Nov 3, 2014
README.md
bower.json Simplify flight example Nov 3, 2014
package.json Add module sharing Nov 4, 2014
webpack.config.js Add module sharing Nov 4, 2014

README.md

Webpack example

This is a small example showing how AMD and CommonJS can be built via Webpack.

Flight

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.

React

A simple example of a React component being built with a JSX compiler

Building

# Install all node and bower deps, and run webpack
npm run setup
# run webpack
npm run build