Skip to content

Commit

Permalink
Fix regex in webpack config for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Aug 11, 2024
1 parent 4937a40 commit df6780d
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 df6780d

Please sign in to comment.