Title: ng build -prod does copies assets with javascripts missing · Issue #1637 · angular/angular-cli · GitHub
Open Graph Title: ng build -prod does copies assets with javascripts missing · Issue #1637 · angular/angular-cli
X Title: ng build -prod does copies assets with javascripts missing · Issue #1637 · angular/angular-cli
Description: System uname -a Linux gavin-ubuntu 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux ~/Development/ngBRM/dist cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=x...
Open Graph Description: System uname -a Linux gavin-ubuntu 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux ~/Development/ngBRM/dist cat /etc/lsb-release DISTRIB_ID=Ubuntu ...
X Description: System uname -a Linux gavin-ubuntu 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux ~/Development/ngBRM/dist cat /etc/lsb-release DISTRIB_ID=Ubuntu ...
Opengraph URL: https://github.com/angular/angular-cli/issues/1637
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ng build -prod does copies assets with javascripts missing ","articleBody":"### System\n\n```\n uname -a\nLinux gavin-ubuntu 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux\n\n ~/Development/ngBRM/dist cat /etc/lsb-release \nDISTRIB_ID=Ubuntu\nDISTRIB_RELEASE=16.04\nDISTRIB_CODENAME=xenial\nDISTRIB_DESCRIPTION=\"Ubuntu 16.04 LTS\"\n```\n### angular-cli version:\n\n```\n ng version \nCould not start watchman; falling back to NodeWatcher for file system events.\nVisit http://ember-cli.com/user-guide/#watchman for more info.\nangular-cli: 1.0.0-beta.10\nnode: 5.12.0\nos: linux x64\n```\n### Problem (How to reproduce)\n\n1) Install jquery and materialize-css, `npm install jquery materialize-css --save`\n2) add them to **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 'materialize-css/dist/**/*', \n 'jquery/dist/jquery.min.js'\n ]\n });\n};\n```\n\n3) run `ng build -prod`, all files from materialize except javascript are copied, jquery is missing files too.\n\n4) run `ng build` has no issues. Applies to `ng serve` in production env too.\n","author":{"url":"https://github.com/maclarensg","@type":"Person","name":"maclarensg"},"datePublished":"2016-08-11T05:37:27Z","url":"https://github.com/angular/angular-cli/issues/1637"}
| 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:06af0196-5104-a775-dcfe-2cb25b499426 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFB6:2CC314:86010:BB7DF:6B0567DD |
| html-safe-nonce | 5d928a8ba635a171fa9a2ce40e063ebeaf3c7efc38d3899762a6a91dd4207717 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkI2OjJDQzMxNDo4NjAxMDpCQjdERjo2QjA1NjdERCIsInZpc2l0b3JfaWQiOiIyNjQ0MzA1MDc4Mzg3MDQyMjY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 60b1670792d04c83ef38d9c84d60d8980e007afe2bac4c0f0f58184d962893ac |
| hovercard-subject-tag | issue:170573827 |
| 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/1637/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c5011cbdd6a003aeb337c06a6e815644c5858d55e26a267cbe0b0ce902d092ec/angular/angular-cli/issues/1637 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c5011cbdd6a003aeb337c06a6e815644c5858d55e26a267cbe0b0ce902d092ec/angular/angular-cli/issues/1637 |
| og:image:alt | System uname -a Linux gavin-ubuntu 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux ~/Development/ngBRM/dist cat /etc/lsb-release DISTRIB_ID=Ubuntu ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maclarensg |
| 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