Title: Support lazy loaded and custom named scripts/styles · Issue #3401 · angular/angular-cli · GitHub
Open Graph Title: Support lazy loaded and custom named scripts/styles · Issue #3401 · angular/angular-cli
X Title: Support lazy loaded and custom named scripts/styles · Issue #3401 · angular/angular-cli
Description: Add support for outputting lazy loaded styles and scripts, and also to rename these. Global css should always be outputted as a CSS file, with no accompanying .js bundle. Example configuration in angular-cli.json: "styles": [ "styles.css...
Open Graph Description: Add support for outputting lazy loaded styles and scripts, and also to rename these. Global css should always be outputted as a CSS file, with no accompanying .js bundle. Example configuration in a...
X Description: Add support for outputting lazy loaded styles and scripts, and also to rename these. Global css should always be outputted as a CSS file, with no accompanying .js bundle. Example configuration in a...
Opengraph URL: https://github.com/angular/angular-cli/issues/3401
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support lazy loaded and custom named scripts/styles","articleBody":"Add support for outputting lazy loaded styles and scripts, and also to rename these. Global css should always be outputted as a CSS file, with no accompanying `.js` bundle.\r\n\r\nExample configuration in `angular-cli.json`:\r\n\r\n```\r\n \"styles\": [\r\n \"styles.css\",\r\n { \"input\": \"named-style.scss\" },\r\n { \"input\": \"lazy-style.scss\", \"lazy\": true },\r\n { \"input\": \"pre-rename-style.scss\", \"output\": \"renamed-style\" },\r\n { \"input\": \"pre-rename-lazy-style.scss\", \"output\": \"renamed-lazy-style\", \"lazy\": true },\r\n { \"input\": \"common-entry.scss\", \"output\": \"common-entry\" }\r\n ],\r\n \"scripts\": [\r\n \"scripts.js\",\r\n { \"input\": \"named-script.js\" },\r\n { \"input\": \"lazy-script.js\", \"lazy\": true },\r\n { \"input\": \"pre-rename-script.js\", \"output\": \"renamed-script\" },\r\n { \"input\": \"pre-rename-lazy-script.js\", \"output\": \"renamed-lazy-script\", \"lazy\": true },\r\n { \"input\": \"common-entry.js\", \"output\": \"common-entry\" }\r\n ],\r\n```\r\n\r\nThis should output the following list of files inside `dist/`:\r\n```\r\nstyles.css\r\nnamed-style.css\r\nlazy-style.css // not loaded in index.html\r\nrenamed-style.css\r\nrenamed-lazy-style.css // not loaded in index.html\r\ncommon-entry.css\r\nscripts.js\r\nnamed-script.js\r\nlazy-script.js // not loaded in index.html\r\nrenamed-script.js\r\nrenamed-lazy-script.js // not loaded in index.html\r\ncommon-entry.js\r\n```","author":{"url":"https://github.com/filipesilva","@type":"Person","name":"filipesilva"},"datePublished":"2016-12-05T13:11:39Z","url":"https://github.com/angular/angular-cli/issues/3401"}
| 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:9b7ffb8c-85b4-6d31-0952-6d55500c3155 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BC0E:937F2:2D8326:3C57A1:6B023331 |
| html-safe-nonce | 7e30876f480dc64e3aa324ff2c44254a2cf961933c4f747fbf4e8a497df3b1b4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzBFOjkzN0YyOjJEODMyNjozQzU3QTE6NkIwMjMzMzEiLCJ2aXNpdG9yX2lkIjoiNjc4Mzg5OTA5Nzc3NTYxNjgxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d6a2b895af91893a52bc0dc24217f57a985a3bcf7ebdda61c4dc773b5518af5c |
| hovercard-subject-tag | issue:193492788 |
| 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/3401/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b93199108121b4c213438aaa90192e8a2f3e50af7caa1d3aa05aa551be9af8e5/angular/angular-cli/issues/3401 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b93199108121b4c213438aaa90192e8a2f3e50af7caa1d3aa05aa551be9af8e5/angular/angular-cli/issues/3401 |
| og:image:alt | Add support for outputting lazy loaded styles and scripts, and also to rename these. Global css should always be outputted as a CSS file, with no accompanying .js bundle. Example configuration in a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | filipesilva |
| 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