Skip to content

Front-end project boilerplate with es6 build tools. Includes babel, webpack, and npm scripts.

Notifications You must be signed in to change notification settings

timwis/es6-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

es6 boilerplate

Front-end project boilerplate with es6 build tools. Includes babel, webpack, and npm scripts.

Usage

Use index.js as your entry point. From there you can write ES6 JavaScript and import other modules using import Foo from './foo' etc. It will be compiled to a single ES5 file at dist/bundle.js using the commands below, which is then run by index.html.

Development

Clone this repository and use npm install to install dependencies.

Use npm start to run a live reload server at localhost:8080/webpack-dev-server and watch for/recompile on changes.

Use npm run watch to only watch for/recompile on changes (use your own web server)

Use npm run build to compile a minified, production-ready build

About

Front-end project boilerplate with es6 build tools. Includes babel, webpack, and npm scripts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published