Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jumperchen/webpack-es6-demo

A small demo project that shows how to use webpack to distribute multi-libraries for client-side development in ECMAScript 6.
https://github.com/jumperchen/webpack-es6-demo

Last synced: 27 days ago
JSON representation

A small demo project that shows how to use webpack to distribute multi-libraries for client-side development in ECMAScript 6.

Awesome Lists containing this project

README

        

# webpack ES6 demo for distributing multi-libraries

A small demo project that shows how to use webpack to distribute multi-libraries for client-side development in ECMAScript 6.

## Installation

* Install [node](https://nodejs.org)
* run `npm install`

## Usage

* `webpack` to start Webpack to compile into the build folder
* open `index.html` in a browser to see the result.

or referred from [origin webpack-es6-demo](https://github.com/rauschma/webpack-es6-demo)

* `npm run watch` to start Webpack in watch mode - will recompile when you change a file.
* open `index.html` in a browser.
* Change or add files in `es6`, `color`, and `number` folders. `main.js` is the entry point.
* Reload the browser when you have made a change.