timpickles / es6-module-to-amd

Spike to see how easy it is to use ES6 modules in an ES5 RequireJS project. See blog post http://www.8bitpickles.com/Using-ES6-modules-in-an-ES5-requireJS-project/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ES6 Module to AMD RequireJS

This is a spike to see how straight forward it is to write ES6 code, transpile it via 6to5 and then make use of the code within an existing RequireJS project.

Building this example

Build the example with grunt

grunt

This will put all of the code which includes the transpiled ES6 code into the dist folder.

About

Spike to see how easy it is to use ES6 modules in an ES5 RequireJS project. See blog post http://www.8bitpickles.com/Using-ES6-modules-in-an-ES5-requireJS-project/


Languages

Language:JavaScript 100.0%