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

[web] Improve rebuild time in dev mode #298

Merged
merged 2 commits into from
Apr 3, 2021
Merged

[web] Improve rebuild time in dev mode #298

merged 2 commits into from
Apr 3, 2021

Conversation

koistya
Copy link
Member

@koistya koistya commented Apr 3, 2021

  • Integrate babel-plugin-import into web project to improve rebuild time
  • Bump NPM dependencies to the latest versions

Note that after this update, the styles related Material UI modules need to be imported like this:

// BEFORE
import { useTheme, ThemeProvider } from "@material-ui/core";

// AFTER
import { useTheme, ThemeProvider } from "@material-ui/core/styles";

https://material-ui.com/guides/minimizing-bundle-size/

@koistya koistya merged commit 5e16ba8 into main Apr 3, 2021
@koistya koistya deleted the babel-import-plugin branch April 3, 2021 18:58
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.

None yet

1 participant