Angular Build Process to hash the File Name of Asset and Resource Folders

前端 未结 1 1800
你的背包
你的背包 2021-02-06 23:53

I have an Angular 4.4.6 application and I build this using Angular CLI 1.0.1.

The problem I have is, apart from inline.bundle.js

1条回答
  •  遥遥无期
    2021-02-07 00:33

    Simply set outputHashing to "all" in the angular.json file

    "projects": {
       ...
          },
          "architect": {
            "build": {
              "builder": "@angular-devkit/build-angular:browser",
              "options": {
               ...
              },
              "configurations": {
                "production": {
                 ...
                  "outputHashing": "all",
    ...
    

    0 讨论(0)
提交回复
热议问题