Es6 Babel Browserify Boilerplate

screenshot of Es6 Babel Browserify Boilerplate

An opinionated boilerplate that uses babel to allow for es6 features and uses browserify for file bundleing

Overview

The ES6 Babel Browserify Boilerplate is a boilerplate repository designed to make it easy to experiment with ES6. It is inspired by the es6-browserify-boilerplate but uses Babel (formerly 6to5) for transpilation, which does not depend on any runtime. This boilerplate allows developers to easily set up and run ES6 code in the browser.

Features

  • ES6 Support: The boilerplate uses Babel to transpile ES6 code into regular ES5, allowing it to be run in any browser.
  • CommonJS Modules: Babel is configured to transpile ES6 modules into CommonJS syntax, making it easier to organize and manage code dependencies.
  • Browserify Integration: The boilerplate uses Browserify to bundle all the code files together, allowing for easier deployment and delivery to the browser.
  • Gulp Task Runner: Gulp is used as a task runner, simplifying the definition and execution of various tasks in the development workflow.

Summary

The ES6 Babel Browserify Boilerplate is a convenient tool for developers who want to experiment with ES6 features. It provides support for transpiling ES6 code into ES5 using Babel, bundling the code using Browserify, and utilizing Gulp as a task runner. By using this boilerplate, developers can more easily set up and run ES6 code in the browser without depending on any runtime.

gulp
Gulp

Gulp.js is an old but popular site building tool that automates various repetitive development tasks in web development, such as compiling Sass, minifying JavaScript, and optimizing images.