Skip to content

Commit

Permalink
fix(admin-ui): Fix build-time Angular CLI warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Oct 14, 2020
1 parent cdf3a39 commit c52a258
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
9 changes: 8 additions & 1 deletion packages/admin-ui/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,14 @@
"./src/lib/static/styles"
]
},
"showCircularDependencies": false
"showCircularDependencies": false,
"allowedCommonJsDependencies": [
"graphql-tag",
"zen-observable",
"lodash",
"apollo-upload-client",
"@vendure/common/lib/simple-deep-clone"
]
},
"configurations": {
"production": {
Expand Down
1 change: 0 additions & 1 deletion packages/admin-ui/src/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"src/**/*.d.ts"
],
"angularCompilerOptions": {
"strictMetadataEmit": true,
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
Expand Down
9 changes: 8 additions & 1 deletion packages/ui-devkit/scaffold/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,14 @@
"./src/styles"
]
},
"showCircularDependencies": false
"showCircularDependencies": false,
"allowedCommonJsDependencies": [
"graphql-tag",
"zen-observable",
"lodash",
"apollo-upload-client",
"@vendure/common/lib/simple-deep-clone"
]
},
"configurations": {
"production": {
Expand Down

0 comments on commit c52a258

Please sign in to comment.