Skip to content
This repository has been archived by the owner on Jan 25, 2020. It is now read-only.

Upgrade to webpack 4 and use react-scripts over custom configs #167

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kedarv
Copy link
Member

@kedarv kedarv commented Oct 20, 2018

Note: this should not be merged until after BM 6 finishes up completely (only non-critical traffic - no sponsors/hackers/etc. visiting)

This PR removes custom build configs/scripts in favor of react-scripts, which also brings in support for Webpack 4 (currently using Webpack 2) which features super fast builds (20-25s vs 45-50s on my Macbook) and smaller bundles (376KB vs ~400KB). Best of all, it reduces the codebase and helps keep this repo more maintainable.

@nickysemenza nickysemenza temporarily deployed to bm5dev-pr-167 October 20, 2018 21:31 Inactive
@nickysemenza nickysemenza temporarily deployed to bm5dev-pr-167 October 20, 2018 21:39 Inactive
@nickysemenza nickysemenza temporarily deployed to bm5dev-pr-167 October 20, 2018 23:02 Inactive
@nickysemenza nickysemenza temporarily deployed to bm5dev-pr-167 October 20, 2018 23:11 Inactive
@codecov
Copy link

codecov bot commented Oct 20, 2018

Codecov Report

Merging #167 into master will decrease coverage by 1.86%.
The diff coverage is 12.12%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #167      +/-   ##
==========================================
- Coverage   23.57%   21.71%   -1.87%     
==========================================
  Files          82       82              
  Lines         933      967      +34     
  Branches      110       98      -12     
==========================================
- Hits          220      210      -10     
- Misses        628      682      +54     
+ Partials       85       75      -10
Impacted Files Coverage Δ
src/pages/Register/RegisterForm.js 63.63% <ø> (ø) ⬆️
src/pages/PasswordReset/index.js 4.16% <ø> (ø) ⬆️
src/pages/DayOf/Announcements.js 11.11% <ø> (ø) ⬆️
src/pages/Register/index.js 63.15% <ø> (-10.53%) ⬇️
src/components/Nav/Nav.js 6.66% <ø> (ø) ⬆️
src/pages/Login/index.js 5.26% <ø> (ø) ⬆️
src/pages/Application/ApplicationDecision.js 6.66% <ø> (ø) ⬆️
src/pages/Exec/ExecUsers.js 10% <10%> (ø) ⬆️
src/config.js 100% <100%> (ø) ⬆️
src/pages/Exec/ExecDashboard.js 5.26% <5.26%> (ø) ⬆️
... and 24 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a6d1299...b308a68. Read the comment docs.

@kedarv kedarv requested review from colejoh, pkfoury and nickysemenza and removed request for colejoh October 20, 2018 23:40
@kedarv
Copy link
Member Author

kedarv commented Oct 20, 2018

This PR also adds some style regressions to non a11y links (eg. logout button on nav, signup button). I figured these pages will be redone after the event ends anyway, so there's no point in going back and fixing those.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants