diff --git a/build.sh b/build.sh index 654c861b96..b22dcd923a 100755 --- a/build.sh +++ b/build.sh @@ -476,7 +476,7 @@ do if [[ ${PACKAGE} == "common" ]]; then echo "====== Copy i18n locale data" - rsync -a --exclude=*.d.ts --exclude=*.metadata.json ${OUT_DIR}/locales/ ${NPM_DIR}/locales + rsync -a ${OUT_DIR}/locales/ ${NPM_DIR}/locales fi else echo "====== Copy ${PACKAGE} node tool" diff --git a/packages/common/locales/tsconfig-build.json b/packages/common/locales/tsconfig-build.json index 737633495a..05c23ac54c 100644 --- a/packages/common/locales/tsconfig-build.json +++ b/packages/common/locales/tsconfig-build.json @@ -1,7 +1,7 @@ { "compilerOptions": { "baseUrl": ".", - "declaration": true, + "declaration": false, "stripInternal": true, "experimentalDecorators": true, "module": "es2015", @@ -21,6 +21,7 @@ "./closure-locale.ts" ], "angularCompilerOptions": { - "skipTemplateCodegen": true + "skipTemplateCodegen": true, + "skipMetadataEmit": true } }