diff --git a/packages/bazel/src/builders/files/src/BUILD.bazel.template b/packages/bazel/src/builders/files/src/BUILD.bazel.template index 8eff34d862..ea9f10ad0b 100644 --- a/packages/bazel/src/builders/files/src/BUILD.bazel.template +++ b/packages/bazel/src/builders/files/src/BUILD.bazel.template @@ -2,8 +2,9 @@ package(default_visibility = ["//visibility:public"]) load("@npm_angular_bazel//:index.bzl", "ng_module") load("@npm_bazel_karma//:index.bzl", "ts_web_test_suite") -load("@build_bazel_rules_nodejs//:index.bzl", "rollup_bundle", "history_server") +load("@build_bazel_rules_nodejs//:index.bzl", "rollup_bundle") load("@build_bazel_rules_nodejs//internal/web_package:web_package.bzl", "web_package") +load("@npm//history-server:index.bzl", "history_server") load("@npm_bazel_typescript//:index.bzl", "ts_devserver", "ts_library") load("@io_bazel_rules_sass//:defs.bzl", "multi_sass_binary", "sass_binary") diff --git a/packages/bazel/src/schematics/ng-add/index.ts b/packages/bazel/src/schematics/ng-add/index.ts index cff0630cec..2cca75c314 100755 --- a/packages/bazel/src/schematics/ng-add/index.ts +++ b/packages/bazel/src/schematics/ng-add/index.ts @@ -53,6 +53,7 @@ function addDevDependenciesToPackageJson(options: Schema) { '@bazel/karma': '0.38.1', '@bazel/protractor': '0.38.1', '@bazel/typescript': '0.38.1', + 'history-server': '^1.3.1', }; const recorder = host.beginUpdate(packageJson);