Skip to content

MatthewAnstey/amd-es6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

Proof of concept that webbpack can export ES6 modules as a AMD module. This is primarly so requireJS can consume it.

The app/index.js file contains a simple ES6 class

Webpack exports this as an AMD modue.

This is referenced in dist/index.html where another file vendor/magento.js that uses this AMD module to alert 500.

#How do I run it?

npm install
webpack
open dist/index.html in browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published