Skip to content

Commit

Permalink
Merge pull request #1114 from rdmorganiser/fix_webpack_config
Browse files Browse the repository at this point in the history
Fix regex in webpack config for windows
  • Loading branch information
MyPyDavid authored Aug 13, 2024
2 parents 1806dc6 + df6780d commit f033ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const baseConfig = {
]
},
{
test: /(fonts|files)\/.*\.(svg|woff2?|ttf|eot|otf)(\?.*)?$/,
test: /(fonts|files)[\\/].*\.(svg|woff2?|ttf|eot|otf)(\?.*)?$/,
loader: 'file-loader',
type: 'javascript/auto',
options: {
Expand Down

0 comments on commit f033ae6

Please sign in to comment.