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:
parent
6f90458ff1
commit
58d38ca714
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue