When running extract-i18n on a component with inline styles there is a message about missing webpack loaders like the following:
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
> :host {
| display: block;
| height: 0;
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
> :host {
| display: block;
| height: 0;
Angular CLI: 12.0.0
Node: 14.16.1
Package Manager: npm 6.14.12
OS: linux x64
Angular: 12.0.0
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, google-maps, language-service, localize, material
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1200.0
@angular-devkit/build-angular 12.0.0
@angular-devkit/core 12.0.0
@angular-devkit/schematics 12.0.0
@schematics/angular 12.0.0
rxjs 6.6.7
typescript 4.2.4
🐞 Bug report
Command (mark with an
x)Is this a regression?
Yes, in v12 from v11
Description
When running extract-i18n on a component with inline styles there is a message about missing webpack loaders like the following:
🔬 Minimal Reproduction
ng new repro-appnpm install @angular/localizenpm run ng extract-i18n🔥 Exception or Error
🌍 Your Environment