build: remove example-module from gitignore

In order to work around an Angular Bazel bug where genfiles aren't
properly picked up in the `ng_module` metadata bundler, we need to
check-in the example module into the source-file and use the
example-module as a real source instead of generating it dynamically
through a genfile. This allows us to temporarily fix the examples package
until the bug (https://github.com/angular/angular/issues/30259) is fixed.
This commit is contained in:
Paul Gschwendtner
2019-05-16 18:00:21 +02:00
committed by Jeremy Elbourn
parent 5bf0487ef5
commit dc859fea2a
5 changed files with 60 additions and 8 deletions
+7 -2
View File
@@ -3,8 +3,13 @@
/**
******************************************************************************
* DO NOT MANUALLY EDIT THIS FILE. THIS FILE IS AUTOMATICALLY GENERATED.
******************************************************************************
*/
*
* IMPORTANT: Due to a bug with the bazel ng_module rule, this file is now
* checked into the repository. Please rebuild the example module by running
* the following command: "yarn gulp build-examples-module"
*
* BUG: https://github.com/angular/angular/issues/30259
******************************************************************************/
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';