News for hackers. Stuff that matters.
Re:The Final ES2015 (ES6) Draft by lewisl9029 on Wednesday June 17, 2015 @05:58PM (#9735574)
Or better yet, use jspm with Babel and use ES6 modules for everything.

https://github.com/jspm/jspm-cli

https://github.com/systemjs/systemjs

Re:The Final ES2015 (ES6) Draft by zghst on Wednesday June 17, 2015 @06:06PM (#9735610)
What's the benefit of jspm vs webpack (which is incredibly powerful, but sloppy IMHO right now).
Re:The Final ES2015 (ES6) Draft by lewisl9029 on Wednesday June 17, 2015 @06:25PM (#9735680)
I honestly haven't used webpack much myself, but I found these two threads on the topic:

https://github.com/jspm/jspm-cli/issues/335

https://github.com/jspm/jspm-cli/issues/844

According to those, SystemJS (jspm's module loader) has the following advantages:

- Able to load any type of module as any other type of module (global, CommonJS, AMD, ES6)

- Can handle transpilation and module loading at runtime without requiring a manual build step

However, jspm itself is primarily a package manager. Its main advantages over existing package management solutions are:

- The tight integration with the SystemJS module loader for ES6 usage

- The fact that it maintains a flat dependency hierarchy with deduplication

- The ability to override package.json configuration for any dependency

- Allows loading of packages from just about any source (local git repos, Github, NPM) as any module format