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

Upgrade webpack and packages #113

Merged
merged 10 commits into from
May 8, 2018
Merged

Conversation

amitmbee
Copy link
Contributor

@amitmbee amitmbee commented May 4, 2018

  • Uses [email protected]
  • Use ts-loader instead of awesome-typescript-loader as it doesn't support webpack 4 ( ref )
  • Removed .babelrc as we aren't using babel-loader (ts-loader takes care of that)
  • Removed webpack-dev-server
  • Update react and react-dom to (16.2.0 --> 16.3.2)
  • Update copy-webpack-plugin ( 4.0.1 --> 4.5.1)
  • Updated typescript package ( 2.3.2 --> 2.8.1 ) and css-loader (minor upgrade)
  • Add tslint and tslint-react rules
  • Add fork-ts-checker-webpack-plugin package to list tslint errors and warnings in dev builds.
  • Use two webpack configs (one for dev and one for prod) - Logs aren't printed in production builds.
  • Added clean-webpack-plugin to clean dist before building.

Build time comparisions using [email protected] and [email protected]

webpack 1 13

webpack 4 5 0

@revathskumar revathskumar merged commit 100b4d0 into master May 8, 2018
@revathskumar revathskumar deleted the Upgrade-webpack-and-packages branch May 8, 2018 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants