Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Babel #630

Closed
wants to merge 2 commits into from
Closed

Babel #630

wants to merge 2 commits into from

Conversation

atfornes
Copy link
Contributor

Providing transpiled version of the code at lib/** and changing main file at package.json for compatibility reasons. See #611

It "transpiles" and "builds" on prepare script to provide dist/ and lib/ folders not only in official builds but also in custom installations. See #571, https://stackoverflow.com/q/44680574/4928558

This was referenced Nov 17, 2017
@daviddias daviddias changed the title add prepublish with babel and build; changed main file to transpiled one Babel Feb 15, 2018
@daviddias
Copy link
Contributor

Note: Just want to point out that @fazo96 provided some good intel on how to work around the fact that uglify2 doesn't support ES6, check it here ipfs/js-ipfs#938 (comment)

@daviddias
Copy link
Contributor

daviddias commented Mar 14, 2018

Closing in favor of tracking this discussion at ipfs/js-ipfs#938 The solution won't require this step. //cc @vmx

@daviddias daviddias closed this Mar 14, 2018
@ghost ghost removed the ready label Mar 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants