Title: Production build doesn't hook up JS and JS.MAP files · Issue #1832 · angular/angular-cli · GitHub
Open Graph Title: Production build doesn't hook up JS and JS.MAP files · Issue #1832 · angular/angular-cli
X Title: Production build doesn't hook up JS and JS.MAP files · Issue #1832 · angular/angular-cli
Description: Tried to build prod version with ng build --prod but faced with an issue - it hooked up css and css.map files, that wrote in my angular-cli-build.js, but ignored .js and .js.map files at all exept defaults, such as zone.js, etc. When I e...
Open Graph Description: Tried to build prod version with ng build --prod but faced with an issue - it hooked up css and css.map files, that wrote in my angular-cli-build.js, but ignored .js and .js.map files at all exept ...
X Description: Tried to build prod version with ng build --prod but faced with an issue - it hooked up css and css.map files, that wrote in my angular-cli-build.js, but ignored .js and .js.map files at all exept ...
Opengraph URL: https://github.com/angular/angular-cli/issues/1832
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Production build doesn't hook up JS and JS.MAP files","articleBody":"Tried to build prod version with `ng build --prod` but faced with an issue - it hooked up `css` and `css.map` files, that wrote in my `angular-cli-build.js`, but ignored `.js` and `.js.map` files at all exept defaults, such as `zone.js`, etc. \nWhen I execute `ng build` - all works fine. It hooked up all files, include `js` and `js.map`.\n\nMy `angular-cli-build.js`:\n\n```\nvar Angular2App = require('angular-cli/lib/broccoli/angular2-app');\n\nmodule.exports = function(defaults) {\n return new Angular2App(defaults, {\n vendorNpmFiles: [\n 'systemjs/dist/system-polyfills.js',\n 'systemjs/dist/system.src.js',\n 'zone.js/dist/**/*.+(js|js.map)',\n 'es6-shim/es6-shim.js',\n 'reflect-metadata/**/*.+(ts|js|js.map)',\n 'rxjs/**/*.+(js|js.map)',\n '@angular/**/*.+(js|js.map)',\n 'intl/**/*.+(js|js.map)',\n 'list.js/dist/list.min.js',\n 'moment/moment.js',\n 'pikaday/pikaday.js',\n 'pikaday/css/*.+(css)',\n 'material-design-lite/*.+(css|js|js.map|css.map)'\n ]\n });\n};\n```\n","author":{"url":"https://github.com/slavaspirit","@type":"Person","name":"slavaspirit"},"datePublished":"2016-08-25T08:28:39Z","url":"https://github.com/angular/angular-cli/issues/1832"}
| 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:a5380625-45d6-ca8b-9df3-0758b7bd2257 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E1FA:197A8C:125442F:192938E:6B0567D9 |
| html-safe-nonce | 0ba76696061ee137469247da3734251ce38d3eb4e865e94f258925bb5e609b86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUZBOjE5N0E4QzoxMjU0NDJGOjE5MjkzOEU6NkIwNTY3RDkiLCJ2aXNpdG9yX2lkIjoiODUwMjIwMDI3NDYzNzkwNzkyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fe79730fdb7e5e5d67e603ad66af5c93a054b51222f3695ff6a7710d3be7e851 |
| hovercard-subject-tag | issue:173142570 |
| 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/1832/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a682d4fa0161f8d47132bf2dfda439a50480a827564fbe15ef4cb00eab87351a/angular/angular-cli/issues/1832 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a682d4fa0161f8d47132bf2dfda439a50480a827564fbe15ef4cb00eab87351a/angular/angular-cli/issues/1832 |
| og:image:alt | Tried to build prod version with ng build --prod but faced with an issue - it hooked up css and css.map files, that wrote in my angular-cli-build.js, but ignored .js and .js.map files at all exept ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | slavaspirit |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1be5cc09efdd4833c24a4ffa71d698e3999fa09071e159fe14c2c08e41c98331 |
| 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 | f6d69234e682c947a48074340e69d45d5901de31 |
| 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