Meta tags:
description= Command build Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was any webpack-based build Description When using Angular v21 with the new esbuild builde...;
Headings (most frequently used words):
navigation, url, is, not, file, in, description, metadata, footer, this, was, commented, on, 2026, deploy, prepended, to, imported, when, using, loader, esbuild, 32789, menu, repository, activity, issue, actions, command, regression, the, previous, version, which, bug, present, minimal, reproduction, exception, or, error, your, environment, maruthang, mar, 27, pshurygin, apr, assignees, labels, type, projects, milestone, relationships, development,
Text of the page (most frequently used words):
angular (36), the (23), build (21), issue (18), url (18), file (17), this (16), github (14), and (14), deploy (12), 2026 (11), that (10), #loader (10), triaged (9), gemini (9), type (8), with (8), not (7), observe (7), for (7), when (7), mar (7), actions (6), fix (6), label (6), noting (6), has (6), been (6), only (6), reported (6), handful (6), users (6), who (6), rarely (6), commit (6), code (6), svg (6), using (6), esbuild (6), security (5), copilot (5), area (5), application (5), sign (5), added (5), maruthang (5), cli (5), your (5), prepended (5), you (4), bug (4), into (4), use (4), from (4), pshurygin (4), version (4), imported (4), was (4), support (4), navigation (3), open (3), app (3), pull (3), yet (3), projects (3), severity3 (3), broken (3), freq1 (3), low (3), references (3), will (3), close (3), once (3), merged (3), main (3), branch (3), prepend (3), output (3), paths (3), apr (3), reproduction (3), there (3), description (3), case (3), webpack (3), builder (3), more (3), platform (3), import (3), like (3), new (3), copy (3), link (3), 32789 (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), reload (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), all (3), can (2), information (2), community (2), status (2), footer (2), requests (2), development (2), milestone (2), labels (2), one (2), metadata (2), comment (2), have (2), fa7f43b (2), get (2), used (2), regression (2), which (2), properly (2), see (2), commented (2), 0760143 (2), 076388e (2), devkit (2), package (2), compiler (2), browser (2), error (2), does (2), mysvgurl (2), configure (2), certain (2), way (2), resource (2), configured (2), command (2), previous (2), work (2), insights (2), 196 (2), repository (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), learn (2), business (2), fixes (2), products (2), secret (2), perform, action, time, share, personal, manage, cookies, contact, docs, privacy, terms, inc, branches, none, relationships, assigned, assignees, already, account, join, conversation, free, right, should, pretty, clear, want, proper, static, images, component, img, src, gives, incorrect, set, also, handled, further, needed, originating, regarding, specific, before, changes, made, mentioned, linked, request, clydin, author, last, edited, show, hidden, spam, removed, alan, agius4, robot, activity, reacted, yuriy, grunin, react, node, manager, npm, operating, system, darwin, arm64, installed, requested, animations, cdk, common, core, elements, forms, localize, dynamic, router, rxjs, typescript, vitest, zone, environment, exception, image, some, json, minimal, looks, achieve, same, result, apart, manually, adding, urls, runtime, test, asset, generator, filename, name, hash, ext, working, previously, loading, assets, rule, v21, types, argument, passed, returned, importing, said, any, based, present, yes, behavior, body, opened, items, issues, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, what, next, partners, about, company, forum, events, webinars, blog, connect, resources, premium, advanced, add, ons, trust, why, evaluate, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, latest, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, hosting, review, collaboration, menu, skip, content,
Text of the page (random words):
deploy url is not prepended to imported file url when using file loader in esbuild issue 32789 angular angular cli github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message angular angular cli repository navigation code issues 196 196 pull requests 20 20 actions security and quality 8 8 insights more items deploy url is not prepended to imported file url when using file loader in esbuild 32789 new issue copy link new issue copy link open open deploy url is not prepended to imported file url when using file loader in esbuild 32789 copy link labels angular build application area angular build freq1 low only reported by a handful of users who observe it rarely only reported by a handful of users who observe it rarely gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini severity3 broken type bug fix description pshurygin opened on mar 18 2026 issue body actions command build is this a regression yes this behavior used to work in the previous version the previous version in which this bug was not present was any webpack based build description when using angular v21 with the new esbuild builder and using a file loader configured for certain file types like svg the deploy url argument passed into the build command does not get prepended to the url returned when importing a file of the said type and there is no way to configure it to do so this was properly working previously with webpack when loading of the svg assets was configured with a rule like this test svg type asset resource generator filename name hash ext looks like with esbuild there is no way to achieve the same result apart from manually adding deploy url to imported urls in runtime minimal reproduction use esbuild application builder configure angular json to use file loader to import a certain file type loader svg file build application using ng build deploy url my deploy url import some svg file in the app import mysvgurl from my image svg observe mysvgurl does not have my deploy url prepended to it exception or error no error your environment angular cli 21 2 2 angular 21 2 4 node js 24 8 0 package manager npm 11 6 0 operating system darwin arm64 package installed version requested version angular animations 21 2 4 21 2 4 angular build 21 2 2 21 2 2 angular cdk 21 2 2 21 2 2 angular cli 21 2 2 21 2 2 angular common 21 2 4 21 2 4 angular compiler 21 2 4 21 2 4 angular compiler cli 21 2 4 21 2 4 angular core 21 2 4 21 2 4 angular elements 21 2 4 21 2 4 angular forms 21 2 4 21 2 4 angular localize 21 2 4 21 2 4 angular platform browser 21 2 4 21 2 4 angular platform browser dynamic 21 2 4 21 2 4 angular router 21 2 4 21 2 4 rxjs 7 8 2 7 8 2 typescript 5 9 3 5 9 3 vitest 4 0 18 4 0 18 zone js 0 16 0 0 16 0 react with 1 reacted by yuriy grunin activity angular robot added area angular devkit build angular gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini on mar 18 2026 alan agius4 added type bug fix freq1 low only reported by a handful of users who observe it rarely only reported by a handful of users who observe it rarely severity3 broken angular build application area angular build and removed area angular devkit build angular on mar 18 2026 maruthang added a commit that references this issue on mar 27 2026 fix angular build prepend deploy url to file loader output paths this issue will close once commit 076388e is merged into the main branch 076388e maruthang commented on mar 27 2026 maruthang on mar 27 2026 hidden as spam show comment more actions maruthang added a commit that references this issue on mar 27 2026 fix angular build prepend deploy url to file loader output paths this issue will close once commit 0760143 is merged into the main branch 0760143 pshurygin commented on apr 1 2026 pshurygin on apr 1 2026 last edited by pshurygin author more actions clydin i see this mentioned in the linked pull request further information is needed from the originating issue regarding a specific use case and reproduction before changes can made yet the reproduction is right there in the pr description and the use case should be pretty clear i want to get a proper url of my static images to be used in a component code eg in an img src yet the file loader gives me an incorrect url when i build the app with set deploy url also this is a regression from the webpack builder which handled this case properly maruthang added a commit that references this issue on apr 6 2026 fix angular build prepend deploy url to file loader output paths this issue will close once commit fa7f43b is merged into the main branch fa7f43b sign up for free to join this conversation on github already have an account sign in to comment metadata metadata assignees no one assigned labels angular build application area angular build freq1 low only reported by a handful of users who observe it rarely only reported by a handful of users who observe it rarely gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini severity3 broken type bug fix type no type projects no projects milestone no milestone relationships none yet development no branches or pull requests issue actions open in github copilot app footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|