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
In this case, this means that if for example the base href is /en, the url will become /en/assets/images/...
A clear and concise description of the problem...
Errors thrown during both development and production build
🔥 Exception or Error
&.background-26 {background-image: url("assets/images/bridge26-large.webp")}
ERROR in ./src/app/modules/lazy-shared/components/page-header/page-header.scss
Module Error (from ./node_modules/postcss-loader/src/index.js):
(Emitted value instead of an instance of Error) CssSyntaxError: /Users/lrj/project/Selfservice/page-header.scss:285:27: Can't resolve './assets/images/bridge25-large.webp' in '/Users/lrj/project/Selfservice/src/app/modules/lazy-shared/components/page-header'
🐞 bug report
Affected Package
I think it's either the Angular compiler or Webpack plugin that handles Sass
Is this a regression?
Yes, works in NG9
Description
We use base href in our apps, and reference images in SCSS like this (example):
background-image: url("assets/images/bridge22-large.webp")
In this case, this means that if for example the base href is
A clear and concise description of the problem.../en
, the url will become/en/assets/images/...
Errors thrown during both development and production build
🔥 Exception or Error
🌍 Your Environment
Angular Version:
The text was updated successfully, but these errors were encountered: