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),