Fix ESLint errors

pull/1170/head jitsi-meet_1531
Lyubomir Marinov 9 years ago
parent 111b6e1c27
commit f72e7ffbc2
  1. 10
      webpack.config.js

@ -8,8 +8,8 @@ var webpack = require('webpack');
var aui_css = __dirname + '/node_modules/@atlassian/aui/dist/aui/css/';
var minimize
= process.argv.indexOf('-p') != -1
|| process.argv.indexOf('--optimize-minimize') != -1;
= process.argv.indexOf('-p') !== -1
|| process.argv.indexOf('--optimize-minimize') !== -1;
var node_modules = __dirname + '/node_modules/';
var plugins = [
new HasteResolverPlugin()
@ -83,12 +83,14 @@ var config = {
},
test: /\.(gif|png|svg)$/
}, {
//Adds the ability to import json files.
// Enable the import of JSON files.
loader: 'json',
exclude: node_modules,
test: /\.json$/
} ],
noParse: [
// Do not parse the files of the Strophe.js library or at least
// parts of the properties of the Strophe global variable will be
// missing and strophejs-plugins will fail at runtime.
@ -122,7 +124,7 @@ var config = {
'jQuery-Impromptu':
'jQuery-Impromptu/dist/jquery-impromptu'
+ (minimize ? '.min' : '')
+ '.js',
+ '.js'
},
packageAlias: 'browser'
}

Loading…
Cancel
Save