Skip to content

basic chunk splitting, bundle analyzer, gzip compression [week-4+] #199

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 8 commits into from
Sep 8, 2022

Conversation

* flexibility for default subdirectory deployment (domain.com/dir)

* another build command allows for root deployment (subd.domain.com)

Signed-off-by: Anik Das <anikdas0811@gmail.com>
* used eslint-webpack-plugin

* logs error to terminal and an overlay during development
* sketch.clear() takes 4 args -> r, g, b, a -> added them

* svg imports needed to be declared for typescript to identify their
  types, added declaration to react-app-env.d.ts
Signed-off-by: Anik Das <anikdas0811@gmail.com>
Signed-off-by: Anik Das <anikdas0811@gmail.com>
* execute npm run analyze to build and inspect the output bundles

Signed-off-by: Anik Das <anikdas0811@gmail.com>
* set level to 9 with 50KB as threshold

Signed-off-by: Anik Das <anikdas0811@gmail.com>
@meganindya meganindya merged commit 2b85fd7 into sugarlabs:sadn1ck/gsoc-2022 Sep 8, 2022
meganindya added a commit that referenced this pull request Sep 8, 2022
basic chunk splitting, bundle analyzer, gzip compression [week-4+]
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