TypeScript compiler will now build to ES2015 code and modules. Babili is used to minify ES2015 code, providing an initial optimization that we couldn't previously get just from Uglify. Uses Babel to convert ES2015 to UMD/ES5 code, and Uglify to minimize the output.
29 lines
781 B
JSON
29 lines
781 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"target": "es2015",
|
|
"lib": ["es6", "dom"],
|
|
"noImplicitAny": true,
|
|
"sourceMap": true,
|
|
"baseUrl": ".",
|
|
"outDir": "../../../dist/packages-dist/benchpress",
|
|
"paths": {
|
|
"@angular/core": ["../../../dist/packages-dist/core"]
|
|
},
|
|
"experimentalDecorators": true,
|
|
"rootDir": ".",
|
|
"sourceRoot": ".",
|
|
"declaration": true,
|
|
"skipLibCheck": true,
|
|
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
|
"types": []
|
|
},
|
|
"exclude": ["integrationtest"],
|
|
"files": [
|
|
"index.ts",
|
|
"../../../node_modules/@types/node/index.d.ts",
|
|
"../../../node_modules/@types/jasmine/index.d.ts",
|
|
"../../../node_modules/zone.js/dist/zone.js.d.ts"
|
|
]
|
|
}
|