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

100pah pushed a commit to branch release-dev
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 8cb374b15ca842e057812715caf73acf17649a5b
Author: 100pah <[email protected]>
AuthorDate: Tue May 12 00:49:23 2026 +0800

    fix(build): Fix build commands.
---
 build/build.js | 3 ++-
 package.json   | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/build/build.js b/build/build.js
index af539be5e..89622c568 100755
--- a/build/build.js
+++ b/build/build.js
@@ -69,7 +69,8 @@ async function run() {
         .option(
             '--type <type name>', [
             'Can be "simple" or "common" or "all" (default). Or can be 
simple,common,all to build multiple. For example,',
-            descIndent + '`--type ""` or `--type "common"`.'
+            descIndent + '`--type ""` or `--type "common"`.',
+            'NOTE: "all" is an individual build type, which means including 
all source code.'
         ].join('\n'))
         .option(
             '--format <format>',
diff --git a/package.json b/package.json
index 119bae3f5..865c03d0c 100644
--- a/package.json
+++ b/package.json
@@ -45,7 +45,7 @@
     "build:esm": "node build/build.js --type all --min --format esm",
     "build:i18n": "node build/build-i18n.js",
     "build:lib": "node build/build-lib.js",
-    "build:extension": "node build/build.js --type extension",
+    "build:extension": "node build/build.js --type extension --min",
     "build:ssr": "node build/build.js --type ssr",
     "dev:fast": "node build/build-i18n.js && node build/dev-fast.js",
     "dev": "npx -y concurrently -n build,server \"npm run dev:fast\" \"npx -y 
http-server -c-1 -s -o test\"",
@@ -69,7 +69,7 @@
     "lint": "npx eslint --cache --cache-location node_modules/.cache/eslint 
\"src/**/*.ts\" \"ssr/client/src/**/*.ts\" \"extension-src/**/*.ts\"",
     "lint:nocache": "npx eslint \"src/**/*.ts\" \"ssr/client/src/**/*.ts\" 
\"extension-src/**/*.ts\"",
     "lint:nocache:list": "npm run lint:nocache -- --debug 2>&1 | grep 
\"filePath\"",
-    "lint:fix": "npx eslint --fix src/**/*.ts extension-src/**/*.ts",
+    "lint:fix": "npx eslint --fix \"src/**/*.ts\" \"ssr/client/src/**/*.ts\" 
\"extension-src/**/*.ts\"",
     "lint:dist": "echo 'It might take a while. Please wait ...' && npx jshint 
--config .jshintrc-dist dist/echarts.js"
   },
   "dependencies": {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to