This is an automated email from the ASF dual-hosted git repository.

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 3c733e8  [INLONG-675] modify the npm script of inlong-website
3c733e8 is described below

commit 3c733e87cc9149144ee8bf92ea78c6545fac76ee
Author: leezng <[email protected]>
AuthorDate: Wed Jul 7 17:22:28 2021 +0800

    [INLONG-675] modify the npm script of inlong-website
---
 inlong-website/.env            | 1 +
 inlong-website/.env.production | 1 +
 inlong-website/package.json    | 4 ++--
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/inlong-website/.env b/inlong-website/.env
index 68b0572..08b6882 100644
--- a/inlong-website/.env
+++ b/inlong-website/.env
@@ -1,2 +1,3 @@
 PORT=8080
 SKIP_PREFLIGHT_CHECK=true
+EXTEND_ESLINT=true
diff --git a/inlong-website/.env.production b/inlong-website/.env.production
new file mode 100644
index 0000000..ba7cc18
--- /dev/null
+++ b/inlong-website/.env.production
@@ -0,0 +1 @@
+GENERATE_SOURCEMAP=false
diff --git a/inlong-website/package.json b/inlong-website/package.json
index 42dcdf9..376ab1d 100644
--- a/inlong-website/package.json
+++ b/inlong-website/package.json
@@ -24,8 +24,8 @@
   "scripts": {
     "analyze": "source-map-explorer 'build/static/js/*.js'",
     "dev": "npm start",
-    "start": "EXTEND_ESLINT=true react-app-rewired start",
-    "build": "GENERATE_SOURCEMAP=false EXTEND_ESLINT=true react-app-rewired 
build",
+    "start": "react-app-rewired start",
+    "build": "react-app-rewired build",
     "test": "react-app-rewired test",
     "commit": "git cz",
     "prettier": "prettier --write 'src/**/*.{ts,tsx,js}'",

Reply via email to