diff --git a/examples/angular/src/BUILD.bazel b/examples/angular/src/BUILD.bazel index 0641207426..618ec4ca02 100644 --- a/examples/angular/src/BUILD.bazel +++ b/examples/angular/src/BUILD.bazel @@ -80,7 +80,8 @@ rollup_bundle( name = "bundle-es2015", config_file = "rollup.config.js", entry_points = { - ":main.prod.ts": "index", + ":main.prod.ts": "index.prod", + ":main.dev.ts": "index.dev", }, output_dir = True, deps = [ @@ -117,7 +118,7 @@ html_insert_assets( "--roots=. $(RULEDIR)", "--assets", ] + ["$(execpath %s)" % s for s in _ASSETS] + [ - "--scripts --module $(execpath :bundle-es2015)/index.js", + "--scripts --module $(execpath :bundle-es2015)/index.dev.js", ], data = [ "//src:example/index.html", @@ -172,8 +173,8 @@ html_insert_assets( "--roots=. $(RULEDIR)", "--assets", ] + ["$(execpath %s)" % s for s in _ASSETS] + [ - "--scripts --module $(execpath :bundle-es2015.min)/index.js", - "--scripts --nomodule $(execpath :bundle-es5.min)/index.js", + "--scripts --module $(execpath :bundle-es2015.min)/index.prod.js", + "--scripts --nomodule $(execpath :bundle-es5.min)/index.prod.js", ], data = [ "//src:example/index.html", diff --git a/examples/angular/src/example/index.html b/examples/angular/src/example/index.html index a5b3482b91..c3265881bd 100644 --- a/examples/angular/src/example/index.html +++ b/examples/angular/src/example/index.html @@ -9,6 +9,6 @@ - + diff --git a/examples/angular/src/example/index.prod.html b/examples/angular/src/example/index.prod.html deleted file mode 100644 index fc985f9dda..0000000000 --- a/examples/angular/src/example/index.prod.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - Angular Bazel Example - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/angular/src/index.html b/examples/angular/src/index.html deleted file mode 100644 index fc08fdc294..0000000000 --- a/examples/angular/src/index.html +++ /dev/null @@ -1,783 +0,0 @@ - - - - - - - - ABC: Angular Buildtools Convergence - - - - - - - - - - - - -
-
-
-

Angular and Bazel

-

- Build and test Angular applications at scale like Google -

-
- -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Incremental re-builds

-

- A small change to your app should require a small re-build. -

-
-
-
-
- - - - - cli - - - - - - - - - - -
-
-

Works with Angular CLI

-

- Use the same ng commands you're used to. -

-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Cloud Ready

-

- Expand your build and test to run in parallel on a cluster of - workers. -

-
-
-
-
- - - - - labs - - - - - - - - - - - - -
-
-

Part of Angular Labs

-

- Not a stable, supported API, so use Bazel with caution in - production applications. We expect to promote it to stable for - Angular version 9. -

-
-
-
-

📚 Resources

-

Projects

- - -

Talks

-
    -
  • - Building Large Angular applications with Bazel - Slides - Video - (AngularToronto, Feb 2020) -
  • -
  • - The Bazel Opt-in Preview is Here! - Slides - Video - (NgConf, May 2019) -
  • -
  • - Building Apps Like Google with Angular, Bazel, and GCP - Video - (Google Cloud Next, April 2019) -
  • - -
  • - Layering in JS tooling - Slides - Video - (ModernWeb Meetup, March 2019) -
  • - -
  • - Angular, Bazel, and CLI - Slides - (AngularSF Meetup, January 2019) -
  • - -
  • - Bazel in Angular CLI - Video - Slides - (AngularNYC Meetup, January 2019) -
  • - -
  • - The CLI Roadmap - Video - (AngularConnect, November 2018) -
  • - -
  • - Develop Angular like Google Does - Slides - (AngularMIX, October 2018) -
  • - -
  • - Building large Angular apps with Bazel - Slides - Video - (BazelCon, October 2018) -
  • - -
  • - How I love being ejected - Slides - Video - (ng-conf, April 2018) -
  • -
  • - Angular Libraries in Bazel - Slides - (AngularSF Meetup, April 2018) -
  • - -
  • - Bazel for building Angular Applications - Video - (St. Louis Angular Lunch, February 2018) -
  • - -
  • - Building Angular Applications like Google - Slides - Video - (AngularConnect, November 2017) -
  • - -
  • - Bazel for Web Frontends - Slides - Video - (BazelCon November 2017) -
  • - -
  • - Angular with Bazel and Closure - Slides - Video - (AngularMIX October 2017) -
  • -
-

Articles

- - -

Trainings

-
    -
  • - LiveCoding a Bazel rule for Stylus - Video - (July 2019) -
  • - -
  • - Bazel Training for Angular Team - Slides - (January 2019) -
  • - -
  • - Full Stack development with Nx and Bazel - Slides - Video - (ng-conf, April 2018) -
  • - -
  • - ABC Deep Dive tech talk - Slides - Video - (February 2018) -
  • -
- -

Examples

- -
-
-
- -