Title: maintain the scripts order as per the angular-cli.json configuration · Issue #3782 · angular/angular-cli · GitHub
Open Graph Title: maintain the scripts order as per the angular-cli.json configuration · Issue #3782 · angular/angular-cli
X Title: maintain the scripts order as per the angular-cli.json configuration · Issue #3782 · angular/angular-cli
Description: OS? Windows 10 Versions. angular-cli: 1.0.0-beta.24 node: 6.9.2 os: win32 x64 Repro steps. My angular-cli.json has the following: ... "scripts": [ ... "../node_modules/jquery-ui/ui/widget.js", "../node_modules/jquery-ui/ui/widgets/datepi...
Open Graph Description: OS? Windows 10 Versions. angular-cli: 1.0.0-beta.24 node: 6.9.2 os: win32 x64 Repro steps. My angular-cli.json has the following: ... "scripts": [ ... "../node_modules/jquery-ui/ui/widget.js", "../...
X Description: OS? Windows 10 Versions. angular-cli: 1.0.0-beta.24 node: 6.9.2 os: win32 x64 Repro steps. My angular-cli.json has the following: ... "scripts": [ ... "../node_modules/jquery-ui/ui/w...
Opengraph URL: https://github.com/angular/angular-cli/issues/3782
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"maintain the scripts order as per the angular-cli.json configuration","articleBody":"### OS?\r\nWindows 10\r\n\r\n### Versions.\r\nangular-cli: 1.0.0-beta.24\r\nnode: 6.9.2\r\nos: win32 x64\r\n\r\n### Repro steps.\r\nMy `angular-cli.json` has the following:\r\n```json\r\n...\r\n\"scripts\": [\r\n ... \r\n \"../node_modules/jquery-ui/ui/widget.js\",\r\n \"../node_modules/jquery-ui/ui/widgets/datepicker.js\",\r\n \"../node_modules/jquery-ui-timepicker-addon/dist/jquery-ui-timepicker-addon.js\",\r\n ...\r\n],\r\n...\r\n```\r\n\r\n### The log given by the failure.\r\nAt https://github.com/trentrichardson/jQuery-Timepicker-Addon/blob/master/dist/jquery-ui-timepicker-addon.js#L15 I get Uncaught TypeError: Cannot read property 'timepicker' of undefined. I found this is because webpack is loading the scripts in the following order:\r\n\r\n-jquery-ui-timepicker-addon.js\r\n-widget.js\r\n-datepicker.js\r\n\r\nwidget.js needs to load before jquery-ui-timepicker-addon.js. Why dose webpack not load in the same order as the configuration and how do you determine the order the files load?\r\n\r\n### Mention any other details that might be useful.\r\nhttp://stackoverflow.com/questions/39964281/how-to-order-angular-cli-scripts\r\n","author":{"url":"https://github.com/mina-skunk","@type":"Person","name":"mina-skunk"},"datePublished":"2016-12-29T17:53:46Z","url":"https://github.com/angular/angular-cli/issues/3782"}
| 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:e313e95f-1794-3102-06e9-251aa425a14d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 848E:11D6DE:2D303F:3BCBC5:6B023354 |
| html-safe-nonce | 53cfd1f468058156488901e953b86a2538ea4186766ae5af389971d0c3618a06 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDhFOjExRDZERToyRDMwM0Y6M0JDQkM1OjZCMDIzMzU0IiwidmlzaXRvcl9pZCI6IjUyODg4OTc5MTc3ODcxOTAxMDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 549ea84522d1ac9fa266102ade58371b6b86e2e5b943365680d990edd6563cda |
| hovercard-subject-tag | issue:198044669 |
| 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/3782/issue_layout |
| twitter:image | https://opengraph.githubassets.com/525a7e85aec375f56914735bce0f937fba92e8bc1ae57ff4a498316eaac90058/angular/angular-cli/issues/3782 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/525a7e85aec375f56914735bce0f937fba92e8bc1ae57ff4a498316eaac90058/angular/angular-cli/issues/3782 |
| og:image:alt | OS? Windows 10 Versions. angular-cli: 1.0.0-beta.24 node: 6.9.2 os: win32 x64 Repro steps. My angular-cli.json has the following: ... "scripts": [ ... "../node_modules/jquery-ui/ui/widget.js", "../... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mina-skunk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width