mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-06-16 10:24:16 +08:00
Revert "Enable eslint caching in development" (#1665)
This commit is contained in:
@@ -177,14 +177,13 @@ module.exports = {
|
||||
// Remember to add the new extension(s) to the "url" loader exclusion list.
|
||||
]
|
||||
},
|
||||
// @remove-on-eject-begin
|
||||
// Point ESLint to our predefined config.
|
||||
eslint: {
|
||||
// @remove-on-eject-begin
|
||||
configFile: path.join(__dirname, '../.eslintrc'),
|
||||
useEslintrc: false,
|
||||
// @remove-on-eject-end
|
||||
cache: true
|
||||
},
|
||||
// @remove-on-eject-end
|
||||
// We use PostCSS for autoprefixing only.
|
||||
postcss: function() {
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user