diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-15 19:30:14 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-15 19:30:14 +0100 |
commit | 9bce75925eb972f7a49c25250e636b7b76734475 (patch) | |
tree | 3a3f6096cf590ccac0d2abdd26f97a20c13975ef /client/config | |
parent | d6a5b018b89f9d2569ca7435b0e270095c93cc17 (diff) | |
download | PeerTube-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.js | 1 | ||||
-rw-r--r-- | client/config/webpack.prod.js | 6 |
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 @@ | |||
1 | const helpers = require('./helpers') | 1 | const helpers = require('./helpers') |
2 | const webpackMerge = require('webpack-merge') // used to merge webpack configs | 2 | const webpackMerge = require('webpack-merge') // used to merge webpack configs |
3 | const commonConfig = require('./webpack.common.js') // the settings that are common to prod and dev | 3 | const commonConfig = require('./webpack.common.js') // the settings that are common to prod and dev |
4 | const 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 | */ |
12 | const DefinePlugin = require('webpack/lib/DefinePlugin') | 12 | const DefinePlugin = require('webpack/lib/DefinePlugin') |
13 | const ExtractTextPlugin = require('extract-text-webpack-plugin') | ||
14 | const IgnorePlugin = require('webpack/lib/IgnorePlugin') | ||
15 | const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin') | 13 | const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin') |
16 | const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin') | 14 | const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin') |
17 | const ProvidePlugin = require('webpack/lib/ProvidePlugin') | ||
18 | const UglifyJsPlugin = require('webpack/lib/optimize/UglifyJsPlugin') | 15 | const UglifyJsPlugin = require('webpack/lib/optimize/UglifyJsPlugin') |
19 | const WebpackMd5Hash = require('webpack-md5-hash') | 16 | const WebpackMd5Hash = require('webpack-md5-hash') |
20 | const 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 |