Imported @giuseppeg's code loader fix from bvaughn/react-flame-graph/pull/4

This commit is contained in:
Brian Vaughn
2018-07-17 07:38:56 -07:00
parent d0b3ab79c0
commit e129648cc5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ module.exports = {
// Custom CodeMirror loader for syntax highlighting
{
test: /code\//,
test: /code\/[^/]+$/,
loader: require.resolve('../webpack/codemirror-loader'),
},
+1 -1
View File
@@ -210,7 +210,7 @@ module.exports = {
// Custom CodeMirror loader for syntax highlighting
{
test: /code\//,
test: /code\/[^/]+$/,
loader: require.resolve('../webpack/codemirror-loader'),
},