simonsmith / webpack-example

AMD and CommonJS examples with Webpack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

AMD and CommonJS examples with Webpack


Languages

Language:JavaScript 100.0%