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

Improve webpack performance #255

Merged
merged 1 commit into from
Jun 9, 2016
Merged

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Jun 9, 2016

This PR cuts the build time by over 50% and the rebundle times by 80-90%. This was done by using CDNs for larger libraries and adding the webpack DLL plugin for rarely changing libraries.

The CDN libraries are still listed as deps and installed for development. When offline, you can use them by running npm start:local-modules.

import webpack from 'webpack'

import config from '../config'
// import webpackConfig, { webpackHotMiddlewareEntry } from './webpack.config'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crufteroni

@levithomason levithomason force-pushed the feature/webpack-performance branch 2 times, most recently from 2fc4c2d to 37fbc61 Compare June 9, 2016 18:11
@codecov-io
Copy link

Current coverage is 84.17%

Merging #255 into master will not change coverage

@@             master       #255   diff @@
==========================================
  Files            62         62          
  Lines           752        752          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            633        633          
  Misses          119        119          
  Partials          0          0          

Powered by Codecov. Last updated by 3c58e1b...78037c9

@levithomason levithomason merged commit ac5e622 into master Jun 9, 2016
@levithomason levithomason deleted the feature/webpack-performance branch June 9, 2016 19:28
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.

3 participants