Skip to content

Commit

Permalink
impliment hack fix due to
Browse files Browse the repository at this point in the history
  • Loading branch information
calebhiebert committed Mar 2, 2019
1 parent 25fc9ce commit c803e4b
Show file tree
Hide file tree
Showing 3 changed files with 303 additions and 9 deletions.
5 changes: 4 additions & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
"e2e": "ng e2e",
"prepare": "patch-package"
},
"private": true,
"dependencies": {
Expand All @@ -32,7 +33,9 @@
"marked": "^0.6.0",
"ng2-truncate": "^1.3.17",
"ngx-toastr": "^9.1.1",
"patch-package": "^6.0.5",
"popper.js": "^1.14.7",
"postinstall-prepare": "^1.0.1",
"protobufjs": "^6.8.8",
"quill": "^1.3.6",
"quill-blot-formatter": "^1.0.5",
Expand Down
13 changes: 13 additions & 0 deletions ui/patches/@angular-devkit+build-angular+0.8.9.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/common.js b/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/common.js
index 99903a9..2df2337 100644
--- a/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/common.js
+++ b/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/common.js
@@ -187,7 +187,7 @@ function getCommonConfig(wco) {
ngDevMode: false,
},
} : {
- pure_getters: buildOptions.buildOptimizer,
+ pure_getters: false,
// PURE comments work best with 3 passes.
// See https://github.com/webpack/webpack/issues/2899#issuecomment-317425926.
passes: buildOptions.buildOptimizer ? 3 : 1,
Loading

0 comments on commit c803e4b

Please sign in to comment.