diff --git a/scripts/tasks/webpack-resources.js b/scripts/tasks/webpack-resources.js index c674366c1991e..359839801ded2 100644 --- a/scripts/tasks/webpack-resources.js +++ b/scripts/tasks/webpack-resources.js @@ -29,7 +29,7 @@ module.exports = { ] }; - const devtool = 'source-map'; + const devtool = 'cheap-module-source-map'; const configs = []; if (!onlyProduction) { @@ -176,6 +176,11 @@ function getPlugins( reportFilename: bundleName + '.stats.html', openAnalyzer: false, generateStatsFile: true, + statsOptions: { + source: false, + reasons: false, + chunks: false, + }, statsFilename: bundleName + '.stats.json', logLevel: 'warn' })