Skip to content

Replace bluebird dependency with smaller es6-promise library. #8

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

Merged
merged 1 commit into from
Sep 21, 2016

Conversation

mikeproeng37
Copy link
Contributor

@haleybash-optimizely @aliabbasrizvi @delikat @vignesh-optimizely @wangjoshuah @jophde

This reduces the size of our minified bundle from 180kb to 113kb.

Copy link
Contributor

@haleybash-optimizely haleybash-optimizely left a comment

Choose a reason for hiding this comment

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

LGTM, nice work!

@mikeproeng37 mikeproeng37 merged commit f8e2e36 into devel Sep 21, 2016
@mikeproeng37 mikeproeng37 deleted the optimizely/mng/replace-bluebird branch September 21, 2016 22:23
mjc1283 added a commit that referenced this pull request Apr 22, 2019
…ntry point (#8)

Summary:

This adds several small, but required, fixes:
  - Update README
  - Rename liveUpdates to autoUpdate
  - Increase minimum allowed update interval to 1000 ms
  - Increase default update interval to 5 minutes
  - Introduce abstract method for subclasses to provide default config. Use this for autoUpdate default true in node, false in browser
  - Add top-level entry points for node (index.node.ts) and browser (index.browser.ts)
  - package.json fixes: Fix license, move @types/node to dev dependencies, add build script, add browser/node entry points
  - Remove unused DatafileManagerConfig interface properties
  - Add missing license header in some files

Test plan:

Updated affected unit tests
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.

2 participants