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

Commit f1961e3

Browse files
committed
reduce webpack build time by 55% with this one simple trick
Auditors: @bsclifton close #11473
1 parent 2cf81bd commit f1961e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

webpack.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ function config () {
2323
path.resolve(__dirname, 'app', 'browser', '*'),
2424
path.resolve(__dirname, 'app', 'extensions', '*')
2525
],
26-
loader: 'babel-loader'
26+
loader: 'babel-loader',
27+
options: {
28+
cacheDirectory: true
29+
}
2730
},
2831
{
2932
test: /\.less$/,

0 commit comments

Comments
 (0)