From 03b5540101f180349795923eb71ea4355e81388b Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 26 Jun 2020 11:37:26 +0800 Subject: [PATCH] Revert "Core: Fix source-map strategy for production" --- lib/core/src/server/preview/iframe-webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/src/server/preview/iframe-webpack.config.js b/lib/core/src/server/preview/iframe-webpack.config.js index dd4dc1caa82..ec8a7b83052 100644 --- a/lib/core/src/server/preview/iframe-webpack.config.js +++ b/lib/core/src/server/preview/iframe-webpack.config.js @@ -113,7 +113,7 @@ export default async ({ return { mode: isProd ? 'production' : 'development', bail: isProd, - devtool: isProd ? 'inline-source-map' : '#cheap-module-source-map', + devtool: '#cheap-module-source-map', entry: entries, output: { path: path.resolve(process.cwd(), outputDir),