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

chore: Lazy load paypal button #3713

Merged
merged 1 commit into from
Dec 22, 2019

Conversation

iamareebjamal
Copy link
Member

@iamareebjamal iamareebjamal commented Dec 21, 2019

Related: #3634

Vendor JS reduced from 4.1 MB to 3 MB

Paypal Checkout lib itself was of 1 MB

@auto-label auto-label bot added the chore label Dec 21, 2019
@niranjan94
Copy link
Member

Codacy Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- ember-cli-build.js  1
         

See the complete overview on Codacy

@@ -3,6 +3,7 @@ const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const MergeTrees = require('broccoli-merge-trees');
const Funnel = require('broccoli-funnel');
const targets = require('./config/targets');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
Copy link
Member

Choose a reason for hiding this comment

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

Why adding this dependency ? Also how it is related to reduce the bundle sizes of js chunks ?

Copy link
Member Author

Choose a reason for hiding this comment

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

All can be answered if you search the name of the dependency

Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@codedsun codedsun left a comment

Choose a reason for hiding this comment

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

Awesome 👍

@iamareebjamal iamareebjamal merged commit a256185 into fossasia:development Dec 22, 2019
@iamareebjamal iamareebjamal deleted the lazy-paypal branch December 22, 2019 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants