From 46cccdb708aa141ecce7ca34967da7b79140ad91 Mon Sep 17 00:00:00 2001 From: Asnxthaony Date: Sat, 27 May 2023 00:39:09 +0800 Subject: [PATCH] feat: generate source maps for production --- webpack.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.ts b/webpack.config.ts index cd323ddd..af6082f3 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -142,7 +142,7 @@ export default function (env?: Env): webpack.Configuration { experiments: { syncWebAssembly: true, }, - devtool: isDev ? 'eval-source-map' : false, + devtool: isDev ? 'eval-source-map' : 'source-map', devServer: { headers: { 'Access-Control-Allow-Origin': '*',