René's URL Explorer Experiment


Title: Feature Request: Copy assets outside of src folder (e.g. node_modules) · Issue #3555 · angular/angular-cli · GitHub

Open Graph Title: Feature Request: Copy assets outside of src folder (e.g. node_modules) · Issue #3555 · angular/angular-cli

X Title: Feature Request: Copy assets outside of src folder (e.g. node_modules) · Issue #3555 · angular/angular-cli

Description: So this is a feature request for ability to copy assets from different folders of the project, e.g. node_modules etc. Currently it doesn't seem to be supported even if you'll specify this: angular-cli.json "assets": [ "assets", "../logo....

Open Graph Description: So this is a feature request for ability to copy assets from different folders of the project, e.g. node_modules etc. Currently it doesn't seem to be supported even if you'll specify this: angular-...

X Description: So this is a feature request for ability to copy assets from different folders of the project, e.g. node_modules etc. Currently it doesn't seem to be supported even if you'll specify this: ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature Request: Copy assets outside of src folder (e.g. node_modules)","articleBody":"So this is a feature request for ability to copy assets from different folders of the project, e.g. ```node_modules``` etc. Currently it doesn't seem to be supported even if you'll specify this:\r\n\r\n```angular-cli.json```\r\n```\r\n    \"assets\": [\r\n      \"assets\",\r\n      \"../logo.png\",\r\n      \"../node_modules/third-party/cool.svg\"\r\n    ],\r\n```\r\n\r\nIt's actually common use case, when you need to copy assets from third-party modules from ```node_modules```\r\n\r\nBelow you can see additional information about cli and steps to reproduce:\r\n\r\n### OS?\r\n> Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\r\n```macOS Sierra 10.12.1```\r\n\r\n### Versions.\r\n> Please run `ng --version`. If there's nothing outputted, please run in a Terminal: `node --version` and paste the result here:\r\n```\r\nangular-cli: 1.0.0-beta.21\r\nnode: 7.2.1\r\nos: darwin x64\r\n```\r\n\r\n### Repro steps.\r\n> Was this an app that wasn't created using the CLI? What change did you do on your code? etc.\r\nTo reproduce this issue just try to copy file one level up of src folder or explicitly from ```node_modules```\r\n\r\n### Stack trace\r\n1. If you'll specify asset as \r\n```\r\n   \"assets\": [\r\n      \"assets\",\r\n      \"../node_modules/bootstrap-theme/svg/sprite-symbol.svg\"\r\n    ]\r\n```\r\nyou won't see any stack trace, all good, but file won't be copied\r\n\r\n1. If you'll specify asset as \r\n```\r\n   \"assets\": [\r\n      \"assets\",\r\n      \"node_modules/bootstrap-theme/svg/sprite-symbol.svg\"\r\n    ]\r\n```\r\n\r\n```\r\nENOENT: no such file or directory, stat '/Users/serhiisol/Development/test-app/src/node_modules/bootstrap-theme/svg/sprite-symbol.svg'\r\nError: ENOENT: no such file or directory, stat  #'/Users/serhiisol/Development/test-app/src/node_modules/bootstrap-theme/svg/sprite-symbol.svg'\r\n    at Object.fs.statSync (fs.js:906:18)\r\n```\r\n\r\n\r\n### Mention any other details that might be useful.\r\nWhat if you want to include assets from node_modules, which seems like a fairly common use case","author":{"url":"https://github.com/serhiisol","@type":"Person","name":"serhiisol"},"datePublished":"2016-12-14T11:14:16Z","url":"https://github.com/angular/angular-cli/issues/3555"}

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:96c96638-1a10-4680-f311-5563e74c1342
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBC20:10F057:2EB8EF:3D680A:6B023331
html-safe-nonce317029d209d447e93803c7293f1a74d903312ed0446bcdb62d7701754fa709f1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzIwOjEwRjA1NzoyRUI4RUY6M0Q2ODBBOjZCMDIzMzMxIiwidmlzaXRvcl9pZCI6Ijk4MDI0NTczMDcwMDcwMjUxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc9612caa897dfc4cc0830f510da08bd1d7f1281d83c134223400d0065ef9e072
hovercard-subject-tagissue:195503899
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/3555/issue_layout
twitter:imagehttps://opengraph.githubassets.com/aea7a31e6de42e417cf4b20629b642f8818ea3f12f8a67f25affdee410ce2ee8/angular/angular-cli/issues/3555
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aea7a31e6de42e417cf4b20629b642f8818ea3f12f8a67f25affdee410ce2ee8/angular/angular-cli/issues/3555
og:image:altSo this is a feature request for ability to copy assets from different folders of the project, e.g. node_modules etc. Currently it doesn't seem to be supported even if you'll specify this: angular-...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiisol
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/3555#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F3555
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%2F3555
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/3555
Reloadhttps://github.com/angular/angular-cli/issues/3555
Reloadhttps://github.com/angular/angular-cli/issues/3555
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/3555
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/3555
Feature Request: Copy assets outside of src folder (e.g. node_modules)https://github.com/angular/angular-cli/issues/3555#top
https://github.com/filipesilva
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P3%22
https://github.com/serhiisol
serhiisolhttps://github.com/serhiisol
on Dec 14, 2016https://github.com/angular/angular-cli/issues/3555#issue-195503899
Nexthttps://github.com/angular/angular-cli/issues/3555?timeline_page=1
https://github.com/hikalkan
hikalkanhttps://github.com/hikalkan
on Dec 14, 2016https://github.com/angular/angular-cli/issues/3555#issuecomment-267021342
https://github.com/manuelfink
manuelfinkhttps://github.com/manuelfink
on Dec 28, 2016https://github.com/angular/angular-cli/issues/3555#issuecomment-269493335
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on Dec 30, 2016https://github.com/angular/angular-cli/issues/3555#issuecomment-269782867
@manuelfinkhttps://github.com/manuelfink
#3402https://github.com/angular/angular-cli/pull/3402
filipesilvahttps://github.com/filipesilva
on Dec 30, 2016https://github.com/angular/angular-cli/issues/3555#event-908139397
filipesilvahttps://github.com/filipesilva
command: buildhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22command%3A%20build%22
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P3%22
type: enhancementhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20enhancement%22
on Dec 30, 2016https://github.com/angular/angular-cli/issues/3555#event-908139475
https://github.com/serhiisol
serhiisolhttps://github.com/serhiisol
on Dec 30, 2016https://github.com/angular/angular-cli/issues/3555#issuecomment-269783182
@filipesilvahttps://github.com/filipesilva
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on Dec 30, 2016https://github.com/angular/angular-cli/issues/3555#issuecomment-269783774
@serhiisolhttps://github.com/serhiisol
https://github.com/serhiisol
serhiisolhttps://github.com/serhiisol
on Dec 30, 2016https://github.com/angular/angular-cli/issues/3555#issuecomment-269783861
@filipesilvahttps://github.com/filipesilva
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on Jan 5, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-270622096
@serhiisolhttps://github.com/serhiisol
https://github.com/derekcdaley
derekcdaleyhttps://github.com/derekcdaley
on Jan 13, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-272573824
https://github.com/mcgraphix
mcgraphixhttps://github.com/mcgraphix
on Jan 23, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-274515105
https://github.com/fleskesvor
fleskesvorhttps://github.com/fleskesvor
on Jan 27, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-275638837
@mcgraphixhttps://github.com/mcgraphix
Octiconshttps://www.npmjs.com/package/octicons
copyfileshttps://www.npmjs.com/package/copyfiles
https://github.com/Bnaya
Bnayahttps://github.com/Bnaya
on Feb 4, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-277486489
https://github.com/rajramo61
rajramo61https://github.com/rajramo61
on Jun 27, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-311248230
@filipesilvahttps://github.com/filipesilva
https://github.com/codedmonkey
codedmonkeyhttps://github.com/codedmonkey
on Jul 7, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-313669784
https://github.com/jeff-jacobs
jeff-jacobshttps://github.com/jeff-jacobs
on Jul 7, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-313702625
https://github.com/fleskesvor
fleskesvorhttps://github.com/fleskesvor
on Jul 7, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-313708412
https://github.com/rajramo61
rajramo61https://github.com/rajramo61
on Jul 7, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-313721007
https://github.com/hieunt88
hieunt88https://github.com/hieunt88
on Aug 28, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-325245686
@filipesilvahttps://github.com/filipesilva
@rajramo61https://github.com/rajramo61
https://github.com/rajramo61
rajramo61https://github.com/rajramo61
on Aug 28, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-325253925
@hieunt88https://github.com/hieunt88
@importhttps://github.com/import
@at-roothttps://github.com/at-root
@font-facehttps://github.com/font-face
https://github.com/hieunt88
hieunt88https://github.com/hieunt88
on Sep 6, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-327355343
@rajramo61https://github.com/rajramo61
https://github.com/ghiscoding
ghiscodinghttps://github.com/ghiscoding
on Dec 14, 2017https://github.com/angular/angular-cli/issues/3555#issuecomment-351772402
https://github.com/commercialsuicide
commercialsuicidehttps://github.com/commercialsuicide
on May 7, 2018https://github.com/angular/angular-cli/issues/3555#issuecomment-387108512
@ghiscodinghttps://github.com/ghiscoding
https://github.com/tnicola
tnicolahttps://github.com/tnicola
on Jul 13, 2018https://github.com/angular/angular-cli/issues/3555#issuecomment-404773950
@ghiscodinghttps://github.com/ghiscoding
https://github.com/kylietmo
kylietmohttps://github.com/kylietmo
on Aug 21, 2019https://github.com/angular/angular-cli/issues/3555#issuecomment-523600666
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 21, 2019https://github.com/angular/angular-cli/issues/3555#issuecomment-533777992
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 21, 2019https://github.com/angular/angular-cli/issues/3555#event-2651998153
mostafaibrhttps://github.com/mostafaibr
on May 29, 2026https://github.com/angular/angular-cli/issues/3555#event-26099495634
feat(@angular/cli): allow assets from outside of app root.https://github.com/mostafaibr/angular-cli/commit/940eb1f8e43beed96f4d10dd49669fca055b9fed
https://docs.github.com/articles/closing-issues-via-commit-messages
940eb1fhttps://github.com/mostafaibr/angular-cli/commit/940eb1f8e43beed96f4d10dd49669fca055b9fed
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/3555
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/3555
filipesilvahttps://github.com/filipesilva
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P3%22
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.