Title: dist/script.[hash].js wasn't be compressed with running ng build --prod command line · Issue #2796 · angular/angular-cli · GitHub
Open Graph Title: dist/script.[hash].js wasn't be compressed with running ng build --prod command line · Issue #2796 · angular/angular-cli
X Title: dist/script.[hash].js wasn't be compressed with running ng build --prod command line · Issue #2796 · angular/angular-cli
Description: OS? Mac OSX Yosemite Versions. angular-cli: 1.0.0-beta.17 node: 6.5.0 os: darwin x64 Repro steps. The log given by the failure. All pass no fail Mention any other details that might be useful. angular-cli.json "scripts": [ "../node_modul...
Open Graph Description: OS? Mac OSX Yosemite Versions. angular-cli: 1.0.0-beta.17 node: 6.5.0 os: darwin x64 Repro steps. The log given by the failure. All pass no fail Mention any other details that might be useful. angu...
X Description: OS? Mac OSX Yosemite Versions. angular-cli: 1.0.0-beta.17 node: 6.5.0 os: darwin x64 Repro steps. The log given by the failure. All pass no fail Mention any other details that might be useful. angu...
Opengraph URL: https://github.com/angular/angular-cli/issues/2796
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"dist/script.[hash].js wasn't be compressed with running ng build --prod command line","articleBody":"### OS?\n\nMac OSX Yosemite\n### Versions.\n\n``` bash\nangular-cli: 1.0.0-beta.17\nnode: 6.5.0\nos: darwin x64\n```\n### Repro steps.\n### The log given by the failure.\n\nAll pass no fail\n### Mention any other details that might be useful.\n\n**angular-cli.json**\n\n``` javascript\n \"scripts\": [\n \"../node_modules/jquery/dist/jquery.js\",\n \"../node_modules/bootstrap/dist/js/bootstrap.js\",\n \"../node_modules/moment/moment.js\"\n ],\n```\n\nand run command line `ng build --prod`\n#### Here is a part of code about **dist/script.[hash].js**\n\n``` javascript\nwebpackJsonp([2,3],{121:function(t,n){t.exports=function(t){\"undefined\"!=typeof execScript?execScript(t):eval.call(null,t)}},212:function(t,n,e){e(121)(e(435))},213:function(t,n,e){e(121)(e(436))},214:function(t,n,e){e(121)(e(437))},435:function(t,n){t.exports=\"/*!\\n * Bootstrap v3.3.7 (http://getbootstrap.com)\\n * Copyright 2011-2016 Twitter, Inc.\\n * Licensed under the MIT license\\n */\\n\\nif (typeof jQuery === 'undefined') {\\n throw new Error('Bootstrap\\\\'s JavaScript requires jQuery')\\n}\\n\\n+function ($) {\\n 'use strict';\\n var version = $.fn.jquery.split(' ')[0].split('.')\\n if ((version[0] \u003c 2 && version[1] \u003c 9) || (version[0] == 1 && version[1] == 9 && version[2] \u003c 1) || (version[0] > 3)) {\\n throw new Error('Bootstrap\\\\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4')\\n }\\n}(jQuery);\\n\\n/* ========================================================================\\n * Bootstrap: transition.js v3.3.7\\n * http://getbootstrap.com/javascript/#transitions\\n * ========================================================================\\n * Copyright 2011-2016 Twitter, Inc.\\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\\n * ======================================================================== */\\n\\n\\n+function ($) {\\n 'use strict';\\n\\n // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)\\n // ============================================================\\n\\n function transitionEnd() {\\n var el = document.createElement('bootstrap')\\n\\n var transEndEventNames = {\\n WebkitTransition : 'webkitTransitionEnd',\\n MozTransition : 'transitionend',\\n OTransition : 'oTransitionEnd otransitionend',\\n transition : 'transitionend'\\n }\\n\\n for (var name in transEndEventNames) {\\n if (el.style[name] !== undefined) {\\n return { end: transEndEventNames[name] }\\n }\\n }\\n\\n return false // explicit for ie8 ( ._.)\\n }\\n\\n // http://blog.alexmaccaw.com/css-transitions\\n $.fn.emulateTransitionEnd = function (duration) {\\n var called = false\\n var $el = this\\n $(this).one('bsTransitionEnd', function () { called = true })\\n var callback = function () { if (!called) $($el).trigger($.support.transition.end) }\\n setTimeout(callback, duration)\\n return this\\n }\\n\\n $(function () {\\n $.support.transition = transitionEnd()\\n\\n if (!$.support.transition) return\\n\\n $.event.special.bsTransitionEnd = {\\n bindType: $.support.transition.end,\\n delegateType: $.support.transition.end,\\n handle: function (e) {\\n if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)\\n }\\n }\\n })\\n\\n}(jQuery);\\n\\n/* ========================================================================\\n * Bootstrap: alert.js v3.3.7\\n * http://getbootstrap.com/javascript/#alerts\\n * ========================================================================\\n * Copyright 2011-2016 Twitter, Inc.\\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\\n * ======================================================================== */\\n\\n\\n+function ($) {\\n 'use strict';\\n\\n // ALERT CLASS DEFINITION\\n // ======================\\n\\n var dismiss = '[data-dismiss=\\\"alert\\\"]'\\n var Alert = function (el) {\\n $(el).on('click', dismiss, this.close)\\n }\\n\\n Alert.VERSION = '3.3.7'\\n\\n Alert.TRANSITION_DURATION = 150\\n\\n Alert.prototype.close = function (e) {\\n var $this = $(this)\\n var selector = $this.attr('data-target')\\n\\n if (!selector) {\\n selector = $this.attr('href')\\n selector = selector && selector.replace(/.*(?=#[^\\\\s]*$)/, '') // strip for ie7\\n }\\n\\n var $parent = $(selector === '#' ? [] : selector)\\n\\n if (e) e.preventDefault()\\n\\n if (!$parent.length) {\\n $parent = $this.closest('.alert')\\n }\\n\\n $parent.trigger(e = $.Event('close.bs.alert'))\\n\\n if (e.isDefaultPrevented()) return\\n\\n $parent.removeClass('in')\\n\\n function removeElement() {\\n // detach from parent, fire event then clean up data\\n $parent.detach().trigger('closed.bs.alert').remove()\\n }\\n\\n $.support.transition && $parent.hasClass('fade') ?\\n $parent\\n .one('bsTransitionEnd', removeElement)\\n .emulateTransitionEnd(Alert.TRANSITION_DURATION) :\\n removeElement()\\n }\\n\\n\\n // ALERT PLUGIN DEFINITION\\n // =======================\\n\\n function Plugin(option) {\\n return this.each(function () {\\n var $this = $(this)\\n var data = $this.data('bs.alert')\\n\\n if (!data) $this.data('bs.alert', (data = new Alert(this)))\\n if (typeof option == 'string') data[option].call($this)\\n })\\n }\\n\\n var old = $.fn.alert\\n\\n $.fn.alert = Plugin\\n $.fn.alert.Constructor = Alert\\n\\n\\n // ALERT NO CONFLICT\\n // =================\\n\\n $.fn.alert.noConflict = function () {\\n $.fn.alert = old\\n return this\\n }\\n\\n\\n // ALERT DATA-API\\n // ==============\\n\\n $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)\\n\\n}(jQuery);\\n\\n/* ========================================================================\\n * Bootstrap: button.js v3.3.7\\n * http://getbootstrap.com/javascript/#buttons\\n * ========================================================================\\n * Copyright 2011-2016 Twitter, Inc.\\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\\n * ======================================================================== */\\n\\n\\n+function ($) {\\n 'use strict';\\n\\n // BUTTON PUBLIC CLASS DEFINITION\\n // ==============================\\n\\n var Button = function (element, options) {\\n this.$element = $(element)\\n this.options = $.extend({}, Button.DEFAULTS, options)\\n this.isLoading = false\\n }\\n\\n Button.VERSION = '3.3.7'\\n\\n Button.DEFAULTS = {\\n loadingText: 'loading...'\\n }\\n\\n Button.prototype.setState = function (state) {\\n var d = 'disabled'\\n var $el = this.$element\\n var val = $el.is('input') ? 'val' : 'html'\\n var data = $el.data()\\n\\n state += 'Text'\\n\\n if (data.resetText == null) $el.data('resetText', $el[val]())\\n\\n // push to event loop to allow forms to submit\\n setTimeout($.proxy(function () {\\n $el[val](data[state] == null ? this.options[state] : data[state])\\n\\n if (state == 'loadingText') {\\n this.isLoading = true\\n $el.addClass(d).attr(d, d).prop(d, true)\\n } else if (this.isLoading) {\\n this.isLoading = false\\n $el.removeClass(d).removeAttr(d).prop(d, false)\\n }\\n }, this), 0)\\n }\\n\\n Button.prototype.toggle = function () {\\n var changed = true\\n var $parent = this.$element.closest('[data-toggle=\\\"buttons\\\"]')\\n\\n if ($parent.length) {\\n var $input = this.$element.find('input')\\n if ($input.prop('type') == 'radio') {\\n if ($input.prop('checked')) changed = false\\n $parent.find('.active').removeClass('active')\\n this.$element.addClass('active')\\n } else if ($input.prop('type') == 'checkbox') {\\n if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false\\n this.$element.toggleClass('active')\\n }\\n $input.prop('checked', this.$element.hasClass('active'))\\n if (changed) $input.trigger('change')\\n } else {\\n this.$element.attr('aria-pressed', !this.$element.hasClass('active'))\\n this.$element.toggleClass('active')\\n }\\n }\\n\\n\\n // BUTTON PLUGIN DEFINITION\\n // ========================\\n\\n function Plugin(option) {\\n return this.each(function () {\\n var $this = $(this)\\n var data = $this.data('bs.button')\\n var options = typeof option == 'object' && option\\n\\n if (!data) $this.data('bs.button', (data = new Button(this, options)))\\n\\n if (option == 'toggle') data.toggle()\\n else if (option) data.setState(option)\\n })\\n }\\n\\n var old = $.fn.button\\n\\n $.fn.button = Plugin\\n $.fn.button.Constructor = Button\\n\\n\\n // BUTTON NO CONFLICT\\n // ==================\\n\\n $.fn.button.noConflict = function () {\\n $.fn.button = old\\n return this\\n }\\n\\n\\n // BUTTON DATA-API\\n // ===============\\n\\n $(document)\\n .on('click.bs.button.data-api', '[data-toggle^=\\\"button\\\"]', function (e) {\\n var $btn = $(e.target).closest('.btn')\\n Plugin.call($btn, 'toggle')\\n if (!($(e.target).is('input[type=\\\"radio\\\"], input[type=\\\"checkbox\\\"]'))) {\\n // Prevent double click on radios, and the double selections (so cancellation) on checkboxes\\n e.preventDefault()\\n // The target component still receive the focus\\n if ($btn.is('input,button')) $btn.trigger('focus')\\n else $btn.find('input:visible,button:visible').first().trigger('focus')\\n }\\n })\\n .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^=\\\"button\\\"]', function (e) {\\n $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))\\n })\\n\\n}(jQuery);\\n\\n/* ========================================================================\\n * Bootstrap: carousel.js v3.3.7\\n * http://getbootstrap.com/javascript/#carousel\\n * ========================================================================\\n * Copyright 2011-2016 Twitter, Inc.\\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\\n * ======================================================================== */\\n\\n\\n+function ($) {\\n 'use strict';\\n\\n // CAROUSEL CLASS DEFINITION\\n // =========================\\n\\n var Carousel = function (element, options) {\\n this.$element = $(element)\\n this.$indicators = this.$element.find('.carousel-indicators')\\n this.options = options\\n this.paused = null\\n this.sliding = null\\n this.interval = null\\n this.$active = null\\n this.$items = null\\n\\n this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))\\n\\n this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element\\n .on('mouseenter.bs.carousel', $.proxy(this.pause, this))\\n .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))\\n }\\n\\n Carousel.VERSION = '3.3.7'\\n\\n Carousel.TRANSITION_DURATION = 600\\n\\n Carousel.DEFAULTS = {\\n interval: 5000,\\n pause: 'hover',\\n wrap: true,\\n keyboard: true\\n }\\n\\n Carousel.prototype.keydown = function (e) {\\n if (/input|textarea/i.test(e.target.tagName)) return\\n switch (e.which) {\\n case 37: this.prev(); break\\n case 39: this.next(); break\\n default: return\\n }\\n\\n e.preventDefault()\\n }\\n\\n Carousel.prototype.cycle = function (e) {\\n e || (this.paused = false)\\n\\n this.interval && clearInterval(this.interval)\\n\\n this.options.interval\\n && !this.paused\\n && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))\\n\\n return this\\n }\\n\\n Carousel.prototype.getItemIndex = function (item) {\\n this.$items = item.parent().children('.item')\\n return this.$items.index(item || this.$active)\\n }\\n\\n \n```\n\n**You can see that, this pack wasn't be compressed**\n\nsame as style\n","author":{"url":"https://github.com/axetroy","@type":"Person","name":"axetroy"},"datePublished":"2016-10-20T08:11:22Z","url":"https://github.com/angular/angular-cli/issues/2796"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:97a1c83e-9dc0-ca91-1996-cdbe4b0636f5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D436:1CD602:19C6FBF:2203717:6B055B62 |
| html-safe-nonce | 6527b7ad3aa21a200ede62ce1c141c6b0e82493f00f7adda7a25899cbdd0bba7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDM2OjFDRDYwMjoxOUM2RkJGOjIyMDM3MTc6NkIwNTVCNjIiLCJ2aXNpdG9yX2lkIjoiOTEyNDM5NTcwMTcwNDY5MjE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5d3a3559528f0c6567830e63cc69ed7dc82a73d3e3876fa43cc1350d742c89ac |
| hovercard-subject-tag | issue:184161739 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/2796/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d535cbe940956fcb663da8ddf218a91c95d627285daf1ca313d2f56872aa4aaa/angular/angular-cli/issues/2796 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d535cbe940956fcb663da8ddf218a91c95d627285daf1ca313d2f56872aa4aaa/angular/angular-cli/issues/2796 |
| og:image:alt | OS? Mac OSX Yosemite Versions. angular-cli: 1.0.0-beta.17 node: 6.5.0 os: darwin x64 Repro steps. The log given by the failure. All pass no fail Mention any other details that might be useful. angu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | axetroy |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10dff83edfd4f3617a7792a152d44991587b434c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width