Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ES6 modules #74

Open
jdthorpe opened this issue Jan 26, 2017 · 0 comments
Open

Support for ES6 modules #74

jdthorpe opened this issue Jan 26, 2017 · 0 comments

Comments

@jdthorpe
Copy link

Just a thought, support for ES6 modules could be added by adding one line to the last if block of clone.js like so:

if (typeof module === 'object' && module.exports) {
  module.exports = clone;
  module.exports.default = clone;
}
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 a pull request may close this issue.

1 participant