From 9a16cb432ed0a597caf9ba78c9dda63ad2134207 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 01 七月 2020 12:42:40 +0800 Subject: [PATCH] 2020-07-01 --- scripts/build.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/scripts/build.js b/scripts/build.js index a8c7bc6..a107a7b 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -3,6 +3,7 @@ // Do this as the first thing so that any code reading it knows the right env. process.env.BABEL_ENV = 'production'; process.env.NODE_ENV = 'production'; +process.env.GENERATE_SOURCEMAP = 'false'; // Makes the script crash on unhandled rejections instead of silently // ignoring them. In the future, promise rejections that are not handled will -- Gitblit v1.8.0