diff --git a/static/js/directives/ui/build-log-error.js b/static/js/directives/ui/build-log-error.js index e8292ae875..874326f69a 100644 --- a/static/js/directives/ui/build-log-error.js +++ b/static/js/directives/ui/build-log-error.js @@ -15,7 +15,7 @@ angular.module('quay').directive('buildLogError', function () { }, controller: function($scope, $element, Config, DocumentationService) { $scope.localPullInfo = null; - $sope.DocumentationService = DocumentationService; + $scope.DocumentationService = DocumentationService; var calculateLocalPullInfo = function(entries) { var localInfo = { diff --git a/webpack.config.js b/webpack.config.js index b1524ecb47..adde1b41de 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -67,7 +67,7 @@ if (process.env.NODE_ENV === 'production') { config.optimization.minimizer = [ new TerserPlugin({ // Disable mangle to prevent AngularJS errors - terserOptions: {mangle: false}, + terserOptions: {mangle: false, keep_classnames: true, keep_fnames: true}, sourceMap: true, }), ];