refactor: More generic build.sh file
This commit is contained in:
@ -1,15 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the compiler/testing package.
|
||||
*/
|
||||
|
||||
export * from '../index';
|
@ -1,22 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
export default {
|
||||
entry: '../../../dist/packages-dist/compiler/es5/index.js',
|
||||
dest: '../../../dist/packages-dist/compiler/bundles/compiler.umd.js',
|
||||
format: 'umd',
|
||||
moduleName: 'ng.compiler',
|
||||
globals: {
|
||||
'@angular/core': 'ng.core',
|
||||
'rxjs/Observable': 'Rx',
|
||||
'rxjs/Subject': 'Rx',
|
||||
},
|
||||
plugins: [
|
||||
// nodeResolve({ jsnext: true, main: true }),
|
||||
]
|
||||
};
|
@ -1,12 +0,0 @@
|
||||
|
||||
{
|
||||
"extends": "../tsconfig-build",
|
||||
|
||||
"compilerOptions": {
|
||||
"target": "es5"
|
||||
},
|
||||
"files": [
|
||||
"index.ts",
|
||||
"../../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
]
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the compiler/esm5 package.
|
||||
*/
|
||||
|
||||
export * from '../index';
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"extends": "../tsconfig-build",
|
||||
|
||||
"compilerOptions": {
|
||||
"target": "es5"
|
||||
},
|
||||
"files": [
|
||||
"index.ts",
|
||||
"../../../node_modules/zone.js/dist/zone.js.d.ts"
|
||||
]
|
||||
}
|
@ -5,7 +5,7 @@
|
||||
"main": "./bundles/compiler.umd.js",
|
||||
"module": "./@angular/compiler.es5.js",
|
||||
"es2015": "./@angular/compiler.js",
|
||||
"typings": "./typings/index.d.ts",
|
||||
"typings": "./typings/compiler.d.ts",
|
||||
"author": "angular",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"typings": "../typings/testing/index.d.ts",
|
||||
"typings": "../typings/testing.d.ts",
|
||||
"main": "../bundles/compiler-testing.umd.js",
|
||||
"module": "../@angular/compiler/testing.es5.js",
|
||||
"es2015": "../@angular/compiler/testing.js"
|
||||
|
Reference in New Issue
Block a user