Sfoglia il codice sorgente

fix(build) use path.join in webpack-shared.config

dev1
Gary Hunt 3 anni fa
parent
commit
2f51b7a54d
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      webpack-shared-config.js

+ 2
- 1
webpack-shared-config.js Vedi File

@@ -1,5 +1,6 @@
1 1
 /* global __dirname */
2 2
 
3
+const path = require('path');
3 4
 const process = require('process');
4 5
 const { ProvidePlugin } = require('webpack');
5 6
 const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
@@ -24,7 +25,7 @@ module.exports = (minimize, analyzeBundle) => {
24 25
                         process.env.LIB_JITSI_MEET_COMMIT_HASH || 'development',
25 26
                     search: '{#COMMIT_HASH#}'
26 27
                 },
27
-                test: `${__dirname}/JitsiMeetJS.js`
28
+                test: path.join(__dirname, 'JitsiMeetJS.js')
28 29
             }, {
29 30
                 // Transpile ES2015 (aka ES6) to ES5.
30 31
 

Loading…
Annulla
Salva