build(common): don't generate .d.ts & .metadata.json files for i18n locales
Fixes #20880
This commit is contained in:
parent
6d57cb04f6
commit
cbe7e39bbe
2
build.sh
2
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"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue