devtool: (() => { if (isProduction) return 'hidden-source-map' else return 'cheap-module-eval-source-map'})()The Fine Art of the Webpack Config82125Alexander Flennikenzheng fuchaoFollowJul 28, 2017 · 1 min readdevtool:(()=>isProduction?’hidden-source-map’:’cheap-module-eval-source-map’)()