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
|
if [[ ${PACKAGE} == "common" ]]; then
|
||||||
echo "====== Copy i18n locale data"
|
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
|
fi
|
||||||
else
|
else
|
||||||
echo "====== Copy ${PACKAGE} node tool"
|
echo "====== Copy ${PACKAGE} node tool"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"declaration": true,
|
"declaration": false,
|
||||||
"stripInternal": true,
|
"stripInternal": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"module": "es2015",
|
"module": "es2015",
|
||||||
|
@ -21,6 +21,7 @@
|
||||||
"./closure-locale.ts"
|
"./closure-locale.ts"
|
||||||
],
|
],
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"skipTemplateCodegen": true
|
"skipTemplateCodegen": true,
|
||||||
|
"skipMetadataEmit": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue