A plugin for optimizing webpack dev compile time.
Before | After |
---|---|
32430ms | 838ms |
92031ms | 3221ms |
Amazing!
Notice: It's only used for dev mode & do not try it on your production mode~
npm install webpack-dev-compile-optimize --save
In your dev webpack config:
const DevCompileOptimize = require('webpack-dev-compile-optimize')
//...
plugins: [
new DevCompileOptimize()
]
//...
And then enjoy the fast recompilation time!
Copyright (c) 2017 Molunerfinn