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

build(deps-dev): update webpack-related dependencies #215

Merged
merged 2 commits into from
Jun 23, 2020

Conversation

LoneRifle
Copy link
Contributor

Problem and Solution

As part of ongoing efforts to bring dependencies up-to-date, update webpack-related packages and eliminate the ones we no longer use

  • Remove url-loader (not used) and style-loader (no client CSS,
    styling now done via React themes)
  • Update README to reflect this
  • clean-webpack-plugin - Remove explicit argument to clean output directory, as v2+ defaults
    to output.path
  • Update everything else without further changes

Tested through npm run dev

- Remove url-loader (not used) and style-loader (no client CSS,
  styling now done via React themes)
- Update README to reflect this
Remove explicit argument to clean output directory, as v2+ defaults
to output.path
@LoneRifle LoneRifle force-pushed the chore/deps/webpack branch from e035aaa to b0458d8 Compare June 23, 2020 11:01
@liangyuanruo liangyuanruo merged commit 32da481 into develop Jun 23, 2020
@liangyuanruo liangyuanruo deleted the chore/deps/webpack branch June 23, 2020 17:51
@liangyuanruo
Copy link
Contributor

i wonder how hard is it to retrospectively introduce create-react-app here.

@LoneRifle
Copy link
Contributor Author

Why would you? Your app is already created

@liangyuanruo
Copy link
Contributor

Chunking, tree shaking and minification etc

@LoneRifle
Copy link
Contributor Author

Wouldn't it make more sense to introduce those features into webpack instead?

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