build: Introduce Bazel build rules

So far this just compiles the core and common packages.
This commit is contained in:
Alex Eagle
2017-06-02 09:43:52 -07:00
committed by Alex Rickabaugh
parent 02d74cafba
commit 5faf520067
12 changed files with 115 additions and 32 deletions

View File

@ -16,6 +16,7 @@ import {NgModuleFactoryLoader} from './ng_module_factory_loader';
const _SEPARATOR = '#';
const FACTORY_CLASS_SUFFIX = 'NgFactory';
declare var System: any;
/**
* Configuration for SystemJsNgModuleLoader.

View File

@ -6,6 +6,10 @@
* found in the LICENSE file at https://angular.io/license
*/
// Import zero symbols from zone.js. This causes the zone ambient type to be
// added to the type-checker, without emitting any runtime module load statement
import {} from 'zone.js';
// TODO(jteplitz602): Load WorkerGlobalScope from lib.webworker.d.ts file #3492
declare var WorkerGlobalScope: any /** TODO #9100 */;
// CommonJS / Node have global context exposed as "global" variable.

View File

@ -6,6 +6,9 @@
* found in the LICENSE file at https://angular.io/license
*/
// Import zero symbols from zone.js. This causes the zone ambient type to be
// added to the type-checker, without emitting any runtime module load statement
import {} from 'zone.js';
import {EventEmitter} from '../event_emitter';
/**