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

linting/typecheck logs, HMR, upgrade dependencies [week-2+3] #197

Merged
merged 5 commits into from
Sep 8, 2022

Conversation

sadn1ck
Copy link
Contributor

@sadn1ck sadn1ck commented Jul 4, 2022

  • webpack: [build] provide BASE_PATH for build time (Building for subdirectory deployment by default)
  • webpack: [feat] enable HotModuleReplacementPlugin
  • webpack: [feat] enable full typechecking + logs
  • eslint: [feat] add linting logs in development

There is an issue with HMR which leads to full reload happening everytime. I believe that is due to the components manually inserted not being in the main component tree. Still having a look at this.

image

cc @meganindya @ksraj123

* 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>
@meganindya meganindya merged commit a85a320 into sugarlabs:sadn1ck/gsoc-2022 Sep 8, 2022
meganindya added a commit that referenced this pull request Sep 8, 2022
linting/typecheck logs, HMR, upgrade dependencies [week-2+3]
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