らいふうっどの閑話休題

興味のあることをゆる~く書いていく

Angular & bazel's memo part Normal build revert

Angular & bazel's memo

angular & bazel のサンプルプロジェクトを通常ビルドに戻す時のメモ
Notes on returning angular & bazel sample project to normal build


通常ビルドに戻すために下記ファイル名を変更しました。
The following file names have been changed to return to the normal build.

angular.json ==> angular.json.bazel.bak
angular.json.bak ==> angular.json

f:id:ic_lifewood:20191005155805p:plain

ノーマルビルドを実行した時にエラーになった場合は、下記ファイルを削除
If an error occurs when executing a normal build, delete the following file:

  • src/initialize_testbed.ts
  • src/main.dev.ts
  • src/main.prod.ts

f:id:ic_lifewood:20191005161219p:plain

切替時に通常は、上記ファイルを削除することはなく、ビルドが正常終了するとはずです。
Normally, the above file is not deleted when switching, and the build should end normally.