diff --git a/packages/admin-ui/angular.json b/packages/admin-ui/angular.json index 9efd42fe33..9db82ea064 100644 --- a/packages/admin-ui/angular.json +++ b/packages/admin-ui/angular.json @@ -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": { diff --git a/packages/admin-ui/src/tsconfig.app.json b/packages/admin-ui/src/tsconfig.app.json index b49c16c011..e8351690f3 100644 --- a/packages/admin-ui/src/tsconfig.app.json +++ b/packages/admin-ui/src/tsconfig.app.json @@ -11,7 +11,6 @@ "src/**/*.d.ts" ], "angularCompilerOptions": { - "strictMetadataEmit": true, "fullTemplateTypeCheck": true, "strictInjectionParameters": true } diff --git a/packages/ui-devkit/scaffold/angular.json b/packages/ui-devkit/scaffold/angular.json index 67886e54f7..6287483e75 100644 --- a/packages/ui-devkit/scaffold/angular.json +++ b/packages/ui-devkit/scaffold/angular.json @@ -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": {