JS Modules

MCMXCV

  • Mocha
  • LiveScript
  • JavaScript

Java web for Netscape

1999

ES3

2009

ES5

ES2015

2015

2000

JavaScript 2.0 (ES4)

http://www-archive.mozilla.org/js/language/js20-2000-07/

var|const v:type = value;

node

current loader: require (common js based loader - everything on npm)

awg loader

node

require and awg loader be compatible (interop)

 

node

require and awg loader be compatible (interop)

 

transpilers

code from the future turned into todays code

kinda leak thing going on here. When babel is transpilling ES6 modules.

 

babel -> common.js

add some things to the runtime, declaritve ahead of time 16min

transpilers

be careful, dont break the assumption presented by es module system

1 - Declare all your exports

2 - 

Made with Slides.com