Sfoglia il codice sorgente

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

Allow path separator of \ in addition to / in jQuery's path name.
master
Erik Demaine 4 anni fa
parent
commit
58d38ca714
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      webpack.config.js

+ 1
- 1
webpack.config.js Vedi File

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

Loading…
Annulla
Salva