From cbbd338c5dcf5f56006a3bd03367255ad623be05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Wed, 24 Apr 2019 15:55:43 +0800 Subject: [PATCH] add source map in site (#4059) --- config/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config.js b/config/config.js index d939eac9..47166e93 100644 --- a/config/config.js +++ b/config/config.js @@ -70,6 +70,7 @@ export default { targets: { ie: 11, }, + devtool: ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION ? 'source-map' : false, // 路由配置 routes: pageRoutes, // Theme for antd -- GitLab