File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ module.exports = {
194194 // It enables caching results in ./node_modules/.cache/babel-loader/
195195 // directory for faster rebuilds.
196196 cacheDirectory : true ,
197+ highlightCode : true ,
197198 } ,
198199 } ,
199200 ] ,
@@ -215,6 +216,7 @@ module.exports = {
215216 require . resolve ( 'babel-preset-react-app/dependencies' ) ,
216217 ] ,
217218 cacheDirectory : true ,
219+ highlightCode : true ,
218220 } ,
219221 } ,
220222 ] ,
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ module.exports = {
199199 presets : [ require . resolve ( 'babel-preset-react-app' ) ] ,
200200 // @remove -on-eject-end
201201 compact : true ,
202+ highlightCode : true ,
202203 } ,
203204 } ,
204205 ] ,
@@ -220,6 +221,7 @@ module.exports = {
220221 require . resolve ( 'babel-preset-react-app/dependencies' ) ,
221222 ] ,
222223 cacheDirectory : true ,
224+ highlightCode : true ,
223225 } ,
224226 } ,
225227 ] ,
You can’t perform that action at this time.
0 commit comments