File tree 2 files changed +4
-0
lines changed
packages/react-scripts/config
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ module.exports = {
194
194
// It enables caching results in ./node_modules/.cache/babel-loader/
195
195
// directory for faster rebuilds.
196
196
cacheDirectory : true ,
197
+ highlightCode : true ,
197
198
} ,
198
199
} ,
199
200
] ,
@@ -215,6 +216,7 @@ module.exports = {
215
216
require . resolve ( 'babel-preset-react-app/dependencies' ) ,
216
217
] ,
217
218
cacheDirectory : true ,
219
+ highlightCode : true ,
218
220
} ,
219
221
} ,
220
222
] ,
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ module.exports = {
199
199
presets : [ require . resolve ( 'babel-preset-react-app' ) ] ,
200
200
// @remove -on-eject-end
201
201
compact : true ,
202
+ highlightCode : true ,
202
203
} ,
203
204
} ,
204
205
] ,
@@ -220,6 +221,7 @@ module.exports = {
220
221
require . resolve ( 'babel-preset-react-app/dependencies' ) ,
221
222
] ,
222
223
cacheDirectory : true ,
224
+ highlightCode : true ,
223
225
} ,
224
226
} ,
225
227
] ,
You can’t perform that action at this time.
0 commit comments