Skip to content

Commit

Permalink
fix(build) use path.join in webpack-shared.config
Browse files Browse the repository at this point in the history
  • Loading branch information
garyhuntddn authored Mar 12, 2022
1 parent 54ed06d commit 2f51b7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack-shared-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* global __dirname */

const path = require('path');
const process = require('process');
const { ProvidePlugin } = require('webpack');
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
Expand All @@ -24,7 +25,7 @@ module.exports = (minimize, analyzeBundle) => {
process.env.LIB_JITSI_MEET_COMMIT_HASH || 'development',
search: '{#COMMIT_HASH#}'
},
test: `${__dirname}/JitsiMeetJS.js`
test: path.join(__dirname, 'JitsiMeetJS.js')
}, {
// Transpile ES2015 (aka ES6) to ES5.

Expand Down

0 comments on commit 2f51b7a

Please sign in to comment.