We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x
- [ ] new - [x] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] version - [ ] doc
Yes.
Running ng build --configuration production with the following in styles.scss ...
a.current-open:after { content: "\f107"; font-family: "FontAwesome"; font-weight: bold; }
... turns into @charset "UTF-8";a.current-open:after{content:"";font-family:FontAwesome;font-weight:700}
...which doesn't render correctly in the browser (Safari, Chrome & IE)
... resulting .css is changed from content: "\f107"; to content:"";
Angular CLI: 9.0.0-next.5 Node: 12.3.1 OS: darwin x64 Angular: 9.0.0-next.7 ... animations, common, compiler, compiler-cli, core, forms ... language-service, platform-browser, platform-browser-dynamic ... router Package Version ----------------------------------------------------------- @angular-devkit/architect 0.900.0-next.5 @angular-devkit/build-angular 0.900.0-next.5 @angular-devkit/build-optimizer 0.900.0-next.5 @angular-devkit/build-webpack 0.900.0-next.5 @angular-devkit/core 9.0.0-next.5 @angular-devkit/schematics 9.0.0-next.5 @angular/cdk 8.2.0 @angular/cli 9.0.0-next.5 @angular/material 8.2.0 @ngtools/webpack 9.0.0-next.5 @nguniversal/express-engine 8.1.1 @schematics/angular 9.0.0-next.5 @schematics/update 0.900.0-next.5 rxjs 6.5.3 typescript 3.5.3 webpack 4.40.2
Anything else relevant?
The text was updated successfully, but these errors were encountered:
Hi, this is because Dart Sass only supports UTF-8 related to sass/dart-sass#568
As a workaround you can opt-in to use node-sass which supports ASCII characters, by installing it in your workspace
node-sass
npm i node-sass --save-dev
I am going to close this since it's not actionable by use.
Sorry, something went wrong.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
No branches or pull requests
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes.
Yes, the previous version in which this bug was not present was: ....Description
Running ng build --configuration production with the following in styles.scss ...
a.current-open:after {
content: "\f107";
font-family: "FontAwesome";
font-weight: bold;
}
... turns into
@charset "UTF-8";a.current-open:after{content:"";font-family:FontAwesome;font-weight:700}
...which doesn't render correctly in the browser (Safari, Chrome & IE)
A clear and concise description of the problem...🔬 Minimal Reproduction
a.current-open:after {
content: "\f107";
font-family: "FontAwesome";
font-weight: bold;
}
... resulting .css is changed from content: "\f107"; to content:"";
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: