Skip to content

Conversation

@muthurathinam
Copy link
Contributor

Two output js files are created

  1. With polyfills for fetchapi and es6-promises
  2. Without polyfills

Polyfills for fetchapi and es6-promises are more common, so the host applications might already have the copies of these polyfills. Having ouput without polyfill will actually reduce the sdk file size which fastens the js loading.

@muthurathinam
Copy link
Contributor Author

cc: @lahuey

@deepak2016
Copy link

@muthurathinam Can you add package, which will get generated after this change, as a comment here?

@muthurathinam
Copy link
Contributor Author

Output files:

  1. With polyfills -> graph-js-sdk-web.js [Already present]
  2. Without polyfills (FetchAPI and ES6-Promise) -> graph-js-sdk-core.js [Newly generated]

@deepak2016

ghost
ghost previously approved these changes Aug 6, 2018
Copy link
Contributor

@MIchaelMainer MIchaelMainer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add information in the readme about the two output files.

@muthurathinam
Copy link
Contributor Author

@MIchaelMainer I have updated the README.md file.

Copy link
Contributor

@darrelmiller darrelmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, although this is way out of realm of experience, so don't put too much weight in my opinion!

@muthurathinam muthurathinam removed the request for review from bullsseye August 14, 2018 03:05
@muthurathinam muthurathinam merged commit d29853f into dev Aug 17, 2018
@muthurathinam muthurathinam deleted the Multiple-Output-JS branch August 17, 2018 03:18
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.

6 participants