You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2021/04/11 23:25:00 UTC
[incubator-annotator] 02/05: Emit source maps as separate files
This is an automated email from the ASF dual-hosted git repository.
randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git
commit dae0d6ed5962ec58d48966ba6809a0884e1440c7
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sun Apr 11 15:37:14 2021 -0700
Emit source maps as separate files
Provide source maps as separate files in the build so that the common
case of importing the code without debugging it does not require reading
all those extra bytes.
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index e4d0dc5..785cf2c 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,7 @@
},
"scripts": {
"build": "concurrently yarn:build:*",
- "build:js": "lerna exec --parallel -- babel -d lib -s inline -x .ts --env-name production --root-mode upward src",
+ "build:js": "lerna exec --parallel -- babel -d lib -s -x .ts --env-name production --root-mode upward src",
"build:misc": "lerna exec --parallel -- cp ../../DISCLAIMER-WIP ../../LICENSE ../../NOTICE ../../README.md .",
"build:types": "tsc --build",
"clean": "tsc --build --clean && lerna exec -- rimraf DISCLAIMER-WIP LICENSE NOTICE README.md lib && rimraf docs",