René's URL Explorer Experiment


Title: Let 'lazyModules' option support modules from outside root in AOT mode · Issue #12859 · angular/angular-cli · GitHub

Open Graph Title: Let 'lazyModules' option support modules from outside root in AOT mode · Issue #12859 · angular/angular-cli

X Title: Let 'lazyModules' option support modules from outside root in AOT mode · Issue #12859 · angular/angular-cli

Description: Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [X] feature request Command (mark with an x) - [ ] new - [X] build - [X] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ...

Open Graph Description: Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [X] feature request Command (mark with an x) - [ ] new - [X] build - [X] serve - [ ] test...

X Description: Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [X] feature request Command (mark with an x) - [ ] new - [X] build - [X] serve - [ ] t...

Opengraph URL: https://github.com/angular/angular-cli/issues/12859

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Let 'lazyModules' option support modules from outside root in AOT mode","articleBody":"### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [ ] bug report -> please search issues before submitting\r\n- [X] feature request\r\n```\r\n\r\n### Command (mark with an `x`)\r\n```\r\n- [ ] new\r\n- [X] build\r\n- [X] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [ ] generate\r\n- [ ] add\r\n- [ ] update\r\n- [ ] lint\r\n- [ ] xi18n\r\n- [ ] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n```\r\n\r\n### Versions\r\n```\r\nAngular CLI: 7.0.3\r\nNode: 8.11.3\r\nOS: win32 x64\r\nAngular: 7.0.1\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\nPackage                            Version\r\n------------------------------------------------------------\r\n@angular-devkit/architect          0.10.3\r\n@angular-devkit/build-angular      0.10.3\r\n@angular-devkit/build-ng-packagr   0.10.3\r\n@angular-devkit/build-optimizer    0.10.3\r\n@angular-devkit/build-webpack      0.10.3\r\n@angular-devkit/core               7.0.3\r\n@angular-devkit/schematics         7.0.3\r\n@angular/cli                       7.0.3\r\n@ngtools/json-schema               1.1.0\r\n@ngtools/webpack                   7.0.3\r\n@schematics/angular                7.0.3\r\n@schematics/update                 0.10.3\r\nng-packagr                         4.4.0\r\nrxjs                               6.3.3\r\ntypescript                         3.1.4\r\nwebpack                            4.19.1\r\n```\r\n\r\n### Repro steps\r\nThe addition of the 'lazyModules' option was something that people have been asking for for quite some time (to not \"abuse\" to router to create chunks). Unfortunately the lazyModules option still requires the module to be in the src folder, and therefore it is not possible to lazy load a module from a component library or an external dependency in node_modules. At the moment te only way to achieve this is to create another module that is somewhere under the src folder and imports the external module.\r\n\r\nThis works:\r\n```\r\nlazyModules: [\"src/app/proxies/sample-lib.proxy\"]\r\n```\r\n\r\n```ts\r\nimport { NgModule } from '@angular/core';\r\nimport { SampleLibModule, SampleLibComponent } from 'sample-lib';\r\n\r\n@NgModule({\r\n    imports: [SampleLibModule],\r\n    entryComponents: [SampleLibComponent]\r\n})\r\nexport class SampleLibProxyModule {\r\n\r\n}\r\n```\r\nand this doesn't\r\n```\r\nlazyModules: [\"projects/sample-lib/sample-lib.module\"]\r\n```\r\n\r\n### The log given by the failure\r\nIt curently fails with something like\r\n```\r\nERROR in ./src/$$_lazy_route_resource lazy namespace object\r\nModule not found: Error: Can't resolve '\u003cmypath>/projects/sample-lib/src/lib/sample-lib.module.ngfactory.js' in \u003cmypath>\\src\\$$_lazy_route_resource'\r\n``` \r\n\r\n### Desired functionality\r\nlazyModules also supports including modules from node_modules and projects folders.\r\n","author":{"url":"https://github.com/woppa684","@type":"Person","name":"woppa684"},"datePublished":"2018-11-03T11:36:08Z","url":"https://github.com/angular/angular-cli/issues/12859"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f444cc55-177d-a92b-0347-292518c32cac
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBE7E:DA744:101CAA8:15AC435:6B0119A0
html-safe-nonceeb92f1446f68c21f6c400274493fa04b18034642f3f6bae30bbd526ec7a99121
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTdFOkRBNzQ0OjEwMUNBQTg6MTVBQzQzNTo2QjAxMTlBMCIsInZpc2l0b3JfaWQiOiI4OTc3OTIxNjU4NDgwMzAyNDk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac42cfff5890c2d9a8b7eb74afaf1986f1f190aaed74d30f548e7cbb373f3273a4
hovercard-subject-tagissue:377046752
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/12859/issue_layout
twitter:imagehttps://opengraph.githubassets.com/da390d8d1ec00185c9ad9f2352dae44d7cc35272195af4838bfc49d75d7aced4/angular/angular-cli/issues/12859
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/da390d8d1ec00185c9ad9f2352dae44d7cc35272195af4838bfc49d75d7aced4/angular/angular-cli/issues/12859
og:image:altBug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [X] feature request Command (mark with an x) - [ ] new - [X] build - [X] serve - [ ] test...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewoppa684
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/12859#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F12859
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F12859
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/12859
Reloadhttps://github.com/angular/angular-cli/issues/12859
Reloadhttps://github.com/angular/angular-cli/issues/12859
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests23 (23)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/12859
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/12859
Let 'lazyModules' option support modules from outside root in AOT modehttps://github.com/angular/angular-cli/issues/12859#top
area: @ngtools/webpackhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40ngtools%2Fwebpack%22
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
Backloghttps://github.com/angular/angular-cli/milestone/12
https://github.com/woppa684
woppa684https://github.com/woppa684
on Nov 3, 2018https://github.com/angular/angular-cli/issues/12859#issue-377046752
https://github.com/alan-agius4
alan-agius4https://github.com/alan-agius4
on Nov 4, 2018https://github.com/angular/angular-cli/issues/12859#issuecomment-435666174
#5986https://github.com/angular/angular-cli/issues/5986
https://github.com/woppa684
woppa684https://github.com/woppa684
on Nov 4, 2018https://github.com/angular/angular-cli/issues/12859#issuecomment-435694660
#9515https://github.com/angular/angular-cli/pull/9515
angular/devkit#755https://github.com/angular/devkit/pull/755
https://github.com/woppa684
woppa684https://github.com/woppa684
on Nov 4, 2018https://github.com/angular/angular-cli/issues/12859#issuecomment-435698736
#8142https://github.com/angular/angular-cli/issues/8142
#6373https://github.com/angular/angular-cli/issues/6373
woppa684https://github.com/woppa684
on Nov 4, 2018https://github.com/angular/angular-cli/issues/12859#event-1944979262
https://github.com/totkeks
totkekshttps://github.com/totkeks
on Nov 10, 2018https://github.com/angular/angular-cli/issues/12859#issuecomment-437582885
https://github.com/totkeks/angular-bugs/tree/bug/lazy-route-no-factoryhttps://github.com/totkeks/angular-bugs/tree/bug/lazy-route-no-factory
alan-agius4https://github.com/alan-agius4
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
area: @ngtools/webpackhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40ngtools%2Fwebpack%22
on Nov 12, 2018https://github.com/angular/angular-cli/issues/12859#event-1959674592
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
on Nov 12, 2018https://github.com/angular/angular-cli/issues/12859#event-1959674758
alan-agius4https://github.com/alan-agius4
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
on Nov 12, 2018https://github.com/angular/angular-cli/issues/12859#event-1959674813
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
Backloghttps://github.com/angular/angular-cli/milestone/12
on Nov 12, 2018https://github.com/angular/angular-cli/issues/12859#event-1959674871
https://github.com/sengirab
sengirabhttps://github.com/sengirab
on Dec 1, 2018https://github.com/angular/angular-cli/issues/12859#issuecomment-443428497
https://user-images.githubusercontent.com/15229540/49329035-d482f400-f579-11e8-92a2-be9fbeb0ce29.png
https://github.com/alan-agius4
alan-agius4https://github.com/alan-agius4
on Jan 9, 2019https://github.com/angular/angular-cli/issues/12859#issuecomment-452651128
#6373https://github.com/angular/angular-cli/issues/6373
https://github.com/alan-agius4
alan-agius4https://github.com/alan-agius4
on Jan 10, 2019https://github.com/angular/angular-cli/issues/12859#issuecomment-453006590
#6373 (comment)https://github.com/angular/angular-cli/issues/6373#issuecomment-453006158
alan-agius4https://github.com/alan-agius4
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 10, 2019https://github.com/angular/angular-cli/issues/12859#event-2065175424
https://github.com/aaronfrost
aaronfrosthttps://github.com/aaronfrost
on Jan 28, 2019https://github.com/angular/angular-cli/issues/12859#issuecomment-457996006
https://www.npmjs.com/package/@herodevs/lazy-afhttps://www.npmjs.com/package/@herodevs/lazy-af
https://github.com/woppa684
woppa684https://github.com/woppa684
on Jan 28, 2019https://github.com/angular/angular-cli/issues/12859#issuecomment-457997271
@aaronfrosthttps://github.com/aaronfrost
https://github.com/unspike
unspikehttps://github.com/unspike
on Feb 13, 2019https://github.com/angular/angular-cli/issues/12859#issuecomment-463103989
@woppa684https://github.com/woppa684
https://github.com/woppa684
woppa684https://github.com/woppa684
on Feb 13, 2019https://github.com/angular/angular-cli/issues/12859#issuecomment-463108240
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 9, 2019https://github.com/angular/angular-cli/issues/12859#issuecomment-529339522
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 9, 2019https://github.com/angular/angular-cli/issues/12859#event-2617675691
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/12859
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/12859
area: @ngtools/webpackhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40ngtools%2Fwebpack%22
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
BacklogNo due datehttps://github.com/angular/angular-cli/milestone/12
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.