Skip to content

Commit dc36b8c

Browse files
committed
fix for codemirror loader test regexp not catering for windows paths
1 parent 06e3eae commit dc36b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/config/webpack.config.prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ module.exports = {
211211

212212
// Custom CodeMirror loader for syntax highlighting
213213
{
214-
test: /code\/[^/]+$/,
214+
test: /code[/\\\\]/,
215215
loader: require.resolve('../webpack/codemirror-loader'),
216216
},
217217

0 commit comments

Comments
 (0)