File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 12
12
var path = require ( 'path' ) ;
13
13
var autoprefixer = require ( 'autoprefixer' ) ;
14
14
var webpack = require ( 'webpack' ) ;
15
- var findCacheDir = require ( 'find-cache-dir' ) ;
16
15
var HtmlWebpackPlugin = require ( 'html-webpack-plugin' ) ;
17
16
var CaseSensitivePathsPlugin = require ( 'case-sensitive-paths-webpack-plugin' ) ;
18
17
var InterpolateHtmlPlugin = require ( 'react-dev-utils/InterpolateHtmlPlugin' ) ;
@@ -122,12 +121,9 @@ module.exports = {
122
121
presets : [ require . resolve ( 'babel-preset-react-app' ) ] ,
123
122
// @remove -on-eject-end
124
123
// This is a feature of `babel-loader` for webpack (not Babel itself).
125
- // It enables caching results in ./node_modules/.cache/react-scripts/
126
- // directory for faster rebuilds. We use findCacheDir() because of:
127
- // https://github.com/facebookincubator/create-react-app/issues/483
128
- cacheDirectory : findCacheDir ( {
129
- name : 'react-scripts'
130
- } )
124
+ // It enables caching results in ./node_modules/.cache/babel-loader/
125
+ // directory for faster rebuilds.
126
+ cacheDirectory : true
131
127
}
132
128
} ,
133
129
// "postcss" loader applies autoprefixer to our CSS.
Original file line number Diff line number Diff line change 27
27
"babel-core" : " 6.17.0" ,
28
28
"babel-eslint" : " 7.0.0" ,
29
29
"babel-jest" : " 16.0.0" ,
30
- "babel-loader" : " 6.2.5 " ,
30
+ "babel-loader" : " 6.2.7 " ,
31
31
"babel-preset-react-app" : " ^1.0.0" ,
32
32
"case-sensitive-paths-webpack-plugin" : " 1.1.4" ,
33
33
"chalk" : " 1.1.3" ,
46
46
"extract-text-webpack-plugin" : " 1.0.1" ,
47
47
"file-loader" : " 0.9.0" ,
48
48
"filesize" : " 3.3.0" ,
49
- "find-cache-dir" : " 0.1.1" ,
50
49
"fs-extra" : " 0.30.0" ,
51
50
"gzip-size" : " 3.0.0" ,
52
51
"html-webpack-plugin" : " 2.24.0" ,
You can’t perform that action at this time.
0 commit comments