fix(build) fix webpack-dev-server on Windows

Allow path separator of \ in addition to / in jQuery's path name.
This commit is contained in:
Erik Demaine 2020-11-10 05:01:00 -05:00 committed by GitHub
parent 6f90458ff1
commit 58d38ca714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ const config = {
// dependencies including lib-jitsi-meet.
loader: 'expose-loader?$!expose-loader?jQuery',
test: /\/node_modules\/jquery\/.*\.js$/
test: /[/\\]node_modules[/\\]jquery[/\\].*\.js$/
}, {
// Allow CSS to be imported into JavaScript.