Skip to content

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

Merged
meganindya merged 8 commits into
sugarlabs:sadn1ck/gsoc-2022from
sadn1ck:sadn1ck/week-4+
Sep 8, 2022
Merged

basic chunk splitting, bundle analyzer, gzip compression [week-4+]#199
meganindya merged 8 commits into
sugarlabs:sadn1ck/gsoc-2022from
sadn1ck:sadn1ck/week-4+

Conversation

@sadn1ck

@sadn1ck sadn1ck commented Jul 22, 2022

Copy link
Copy Markdown
Contributor

* 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