build(language-service): fix tsconfig needed for language-service rollup (#14717)

This commit is contained in:
Jason Aden 2017-02-24 15:16:24 -08:00 committed by Igor Minar
parent 3c9a46c231
commit 932a02f1c5
5 changed files with 12 additions and 14 deletions

View File

@ -235,9 +235,9 @@ do
$TSC -p ${SRCDIR}/tsconfig-static.json $TSC -p ${SRCDIR}/tsconfig-static.json
fi fi
if [[ -e ${SRCDIR}/tsconfig-2015.json ]]; then if [[ -e ${SRCDIR}/tsconfig-esm5.json ]]; then
echo "====== [${PACKAGE}]: COMPILING (ES2015): ${TSC} -p ${SRCDIR}/tsconfig-2015.json" echo "====== [${PACKAGE}]: COMPILING (ESM/ES5): ${TSC} -p ${SRCDIR}/tsconfig-esm5.json"
${TSC} -p ${SRCDIR}/tsconfig-2015.json ${TSC} -p ${SRCDIR}/tsconfig-esm5.json
fi fi
if [[ ${PACKAGE} == benchpress ]]; then if [[ ${PACKAGE} == benchpress ]]; then

View File

@ -1,8 +0,0 @@
{
"extends": "./tsconfig-build",
"compilerOptions": {
"module": "es2015",
"moduleResolution": "node",
"outDir": "../../../dist/esm/compiler"
}
}

View File

@ -0,0 +1,7 @@
{
"extends": "./tsconfig-build",
"compilerOptions": {
"outDir": "../../../dist/esm/compiler",
"target": "es5"
}
}

View File

@ -1,9 +1,8 @@
{ {
"extends": "./tsconfig-build", "extends": "./tsconfig-build",
"compilerOptions": { "compilerOptions": {
"module": "es2015", "outDir": "../../../dist/esm/core",
"moduleResolution": "node", "target": "es5"
"outDir": "../../../dist/esm/core"
}, },
"files": [ "files": [
"index.ts", "index.ts",