Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
reduce webpack build time by 55% with this one simple trick
Browse files Browse the repository at this point in the history
Auditors: @bsclifton
close #11473
  • Loading branch information
cezaraugusto committed Oct 12, 2017
1 parent 2cf81bd commit f1961e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ function config () {
path.resolve(__dirname, 'app', 'browser', '*'),
path.resolve(__dirname, 'app', 'extensions', '*')
],
loader: 'babel-loader'
loader: 'babel-loader',
options: {
cacheDirectory: true
}
},
{
test: /\.less$/,
Expand Down

0 comments on commit f1961e3

Please sign in to comment.