Skip to content

Conversation

@creationix
Copy link

Browserify is great for rapid development, especially if you're used to node code. But I need something easier to work with. The new ES6 format is amazing for easy tooling, especially when using rollup. I get tiny bundles on the browser using this method.

This PR adds an ES6 version of the library and adds it to package.json as pkg.module.
https://github.com/rollup/rollup/wiki/pkg.module

For now it duplicates the code. At some point, you might want a build task to generate the CJS version from this version to keep things in sync easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant