Chris Perry shows how to set up a build system for modern JavaScript, using Babel, ES6 modules and webpack, with watch tasks and automatic page refreshes.
Tag: CommonJS
Setting up an ES6 Project Using Babel and webpack
Understanding ES6 Modules via Their History
Elias Carlston looks at the history behind JavaScript ES6 modules and how that has influenced module design in its current state.
Modular JavaScript: A Beginners Guide to SystemJS & jspm
Ravi Kiran introduces you to jspm and SystemJS that let you load any module format (ES6, AMD, CommonJS and globals) directly from any registry.
Understanding JavaScript Modules: Bundling & Transpiling
Mark Brown looks at the state of modules in JavaScript and shows how, with the help of Browserify, Webpack & jspm, you can use them in your projects today.
Transpiling ES6 Modules to AMD & CommonJS Using Babel & Gulp
Ravi Kiran demonstrates how to use Gulp to compile ES6 modules into both the CommonJS and AMD formats, using a previous Angular project by way of an example