summaryrefslogtreecommitdiff
path: root/config/webpack.config.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2019-03-08 10:59:15 -0600
committerMike Greiling <mike@pixelcog.com>2019-03-11 14:16:41 -0500
commitc46b791911ae16f9ce06825c59a0ff93b4e4c789 (patch)
treee58abc15faa0a1a6381d9b3e8aaf4cd2fa625d19 /config/webpack.config.js
parentea1ababae2e6a7f4c6fa5f2a3f6b94fcdb3b84bd (diff)
downloadgitlab-ce-c46b791911ae16f9ce06825c59a0ff93b4e4c789.tar.gz
Remove node 6 trailing comma support
This removes trailing commas from node scripts which previously omitted them for compatiblity with node 6
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 64e6ec49219..11970b620bc 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -251,7 +251,7 @@ module.exports = {
} else {
resource.request = path.join(
ROOT_PATH,
- 'app/assets/javascripts/vue_shared/components/empty_component.js'
+ 'app/assets/javascripts/vue_shared/components/empty_component.js',
);
}
}),
@@ -267,7 +267,7 @@ module.exports = {
const missingDeps = Array.from(compilation.missingDependencies);
const nodeModulesPath = path.join(ROOT_PATH, 'node_modules');
const hasMissingNodeModules = missingDeps.some(
- file => file.indexOf(nodeModulesPath) !== -1
+ file => file.indexOf(nodeModulesPath) !== -1,
);
// watch for changes to missing node_modules
@@ -278,7 +278,7 @@ module.exports = {
// report our auto-generated bundle count
console.log(
- `${autoEntriesCount} entries from '/pages' automatically added to webpack output.`
+ `${autoEntriesCount} entries from '/pages' automatically added to webpack output.`,
);
callback();