From 90911a34bcd88428b08abb4ddcf71b6a121b0519 Mon Sep 17 00:00:00 2001 From: ccloli <8115912+ccloli@users.noreply.github.com> Date: Thu, 14 Dec 2023 16:38:48 +0800 Subject: [PATCH] build: add source map Fixes NetEase/tango#65 --- .umirc.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/.umirc.ts b/.umirc.ts index 91a5dfc..16f7890 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -47,6 +47,7 @@ export default defineConfig({ http2: false, }, jsMinifier: 'terser', + devtool: 'source-map', chainWebpack: (config: any) => { // @see https://github.com/graphql/graphql-js/issues/1272#issuecomment-393903706 config.module