fix for codemirror loader test regexp not catering for windows paths

This commit is contained in:
Gianluca Romeo
2019-03-16 12:37:10 +00:00
parent dc0d7d0856
commit 06e3eae6b3
+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'),
},