Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jumperchen/webpack-es6-demo
- Owner: jumperchen
- Created: 2016-01-20T04:26:11.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-20T04:31:19.000Z (almost 9 years ago)
- Last Synced: 2024-04-14T15:52:06.178Z (7 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.