Amplify-js: Provide ES6 version

Created on 29 Jul 2018  路  6Comments  路  Source: aws-amplify/amplify-js

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

Only CommonJS version is provided

What is the expected behavior?

ES6 version to be available too, for tree shaking

Which versions of Amplify, and which browser / OS are affected by this issue? Did this work in previous versions?

1.0.4, Windows

Build feature-request

All 6 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

nope

We are actively working on this. Please see the RFC reference link

@ArmorDarks , We have published ES6 builds in our unstable release. Please try and let us know if you have any feedback.

@ArmorDarks this has been pushed to a stable release. Closing this, let us know if you face any problems by creating a new issue.

Edit: Nevermind, I think I was reading updates on https://github.com/aws-amplify/amplify-js/issues/3365 then switched back here and confused myself..

@Amplifiyer you linked the old unstable release, and say it has since been made stable.

Looking at the versions on https://www.npmjs.com/package/aws-amplify there are all sorts of things, with various labels that seem rather odd:

eg. latest is at 2.2.6, yet beta is at 1.1.24-beta.10, and next is at 2.1.0

It's kind of hard to try and reverse engineer which is actually meant to be the latest based on those labels, and which versions have the ES6 builds enabled in them (and how we can determine that)

image

Was this page helpful?
0 / 5 - 0 ratings