aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/config
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-01-15 19:30:14 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-01-15 19:30:14 +0100
commit9bce75925eb972f7a49c25250e636b7b76734475 (patch)
tree3a3f6096cf590ccac0d2abdd26f97a20c13975ef /client/config
parentd6a5b018b89f9d2569ca7435b0e270095c93cc17 (diff)
downloadPeerTube-9bce75925eb972f7a49c25250e636b7b76734475.tar.gz
PeerTube-9bce75925eb972f7a49c25250e636b7b76734475.tar.zst
PeerTube-9bce75925eb972f7a49c25250e636b7b76734475.zip
Client: fix lint
Diffstat (limited to 'client/config')
-rw-r--r--client/config/webpack.dev.js1
-rw-r--r--client/config/webpack.prod.js6
2 files changed, 1 insertions, 6 deletions
diff --git a/client/config/webpack.dev.js b/client/config/webpack.dev.js
index cea9d0306..054757748 100644
--- a/client/config/webpack.dev.js
+++ b/client/config/webpack.dev.js
@@ -1,7 +1,6 @@
1const helpers = require('./helpers') 1const helpers = require('./helpers')
2const webpackMerge = require('webpack-merge') // used to merge webpack configs 2const webpackMerge = require('webpack-merge') // used to merge webpack configs
3const commonConfig = require('./webpack.common.js') // the settings that are common to prod and dev 3const commonConfig = require('./webpack.common.js') // the settings that are common to prod and dev
4const path = require('path')
5 4
6/** 5/**
7 * Webpack Plugins 6 * Webpack Plugins
diff --git a/client/config/webpack.prod.js b/client/config/webpack.prod.js
index 64d776f24..51b8a8855 100644
--- a/client/config/webpack.prod.js
+++ b/client/config/webpack.prod.js
@@ -10,14 +10,10 @@ const commonConfig = require('./webpack.common.js') // the settings that are com
10 * Webpack Plugins 10 * Webpack Plugins
11 */ 11 */
12const DefinePlugin = require('webpack/lib/DefinePlugin') 12const DefinePlugin = require('webpack/lib/DefinePlugin')
13const ExtractTextPlugin = require('extract-text-webpack-plugin')
14const IgnorePlugin = require('webpack/lib/IgnorePlugin')
15const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin') 13const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin')
16const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin') 14const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin')
17const ProvidePlugin = require('webpack/lib/ProvidePlugin')
18const UglifyJsPlugin = require('webpack/lib/optimize/UglifyJsPlugin') 15const UglifyJsPlugin = require('webpack/lib/optimize/UglifyJsPlugin')
19const WebpackMd5Hash = require('webpack-md5-hash') 16const WebpackMd5Hash = require('webpack-md5-hash')
20const V8LazyParseWebpackPlugin = require('v8-lazy-parse-webpack-plugin')
21 17
22/** 18/**
23 * Webpack Constants 19 * Webpack Constants
@@ -274,7 +270,7 @@ module.exports = function (env) {
274 [/\*/, /(?:)/], 270 [/\*/, /(?:)/],
275 [/\[?\(?/, /(?:)/] 271 [/\[?\(?/, /(?:)/]
276 ], 272 ],
277 customAttrAssign: [/\)?\]?=/] 273 customAttrAssign: [/\)?]?=/]
278 }, 274 },
279 275
280 // FIXME: Remove 276 // FIXME: Remove