Skip to content

ES6 & rollup #2691

Closed
Closed
@lukeapage

Description

@lukeapage

I'd like to (if I ever get time)

  • move libs to es6/
  • transpile es6/ to an es5/ folder
  • use rollup to build a browser single file

It would be a new major release and I'd also remove the browser bundled promises as I've mentioned in other issues.

Any objections before I just do it? I'm not going to start converting everything to es6 other than the requires (for rollup) but other people are free to use less.js "upgrading" as a way of learning es6 if they like.


Update by @matthew-dean -- I ended up keeping lib/ in the same folder to keep (some?) of git history, instead of transpiling (up-transpiling?) and moving at the same time. The modules don't compile to es5/ either or the equivalent. Instead, there's a CommonJS single-file build for Node 6+, as well as a browser build.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions