build: publish tree of files rather than FESMs (#18541)
* Remove now unnecessary portions of build. * Add a compilePackageES5 method to build ES5 from sources * Rework all package.json and rollup config files to new format * Remove "extends" from tsconfig-build.json files and fixup compilation roots PR Close #18541
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
"@angular/tsc-wrapped": "5.0.0-beta.5",
|
||||
"reflect-metadata": "^0.1.2",
|
||||
"minimist": "^1.2.0",
|
||||
"tsickle": "^0.23.4",
|
||||
"tsickle": "^0.23.6",
|
||||
"chokidar": "^1.4.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -1,29 +1,23 @@
|
||||
{
|
||||
"extends": "../tsconfig-build.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"experimentalDecorators": true,
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": true,
|
||||
"module": "commonjs",
|
||||
"outDir": "../../dist/packages/compiler-cli",
|
||||
"stripInternal": false,
|
||||
"target": "es5",
|
||||
"baseUrl": ".",
|
||||
"rootDir": ".",
|
||||
"paths": {
|
||||
"@angular/compiler": ["../../dist/packages/compiler"],
|
||||
"@angular/tsc-wrapped": ["../../dist/packages-dist/tsc-wrapped"]
|
||||
},
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"inlineSources": true,
|
||||
"target": "es5",
|
||||
"lib": [
|
||||
"es6",
|
||||
"dom"
|
||||
],
|
||||
"skipLibCheck": true
|
||||
"outDir": "../../dist/packages/compiler-cli"
|
||||
},
|
||||
|
||||
"exclude": [
|
||||
"integrationtest"
|
||||
],
|
||||
|
||||
"files": [
|
||||
"index.ts",
|
||||
"ngtools2.ts",
|
||||
|
Reference in New Issue
Block a user