remove condition because dev is always true

Signed-off-by: Clark Du <clark.duxin@gmail.com>
This commit is contained in:
Clark Du 2017-09-08 12:09:11 +08:00
parent 36a553236a
commit 1e0c807341

View File

@ -9,7 +9,7 @@ module.exports = {
vendor: ['lodash'], vendor: ['lodash'],
extend (config, { dev }) { extend (config, { dev }) {
if (dev) { if (dev) {
config.devtool = (dev ? 'eval-source-map' : false) config.devtool = 'eval-source-map'
} }
const urlLoader = config.module.rules.find((loader) => loader.loader === 'url-loader') const urlLoader = config.module.rules.find((loader) => loader.loader === 'url-loader')
// Increase limit to 100KO // Increase limit to 100KO