TrilonIO / aspnetcore-angular-universal

ASP.NET Core & Angular Universal advanced starter - PWA w/ server-side rendering for SEO, Bootstrap, i18n internationalization, TypeScript, unit testing, WebAPI REST setup, SignalR, Swagger docs, and more! By @TrilonIO
https://www.trilon.io
MIT License
1.46k stars 435 forks source link

Assets and Styles type of behavior #731

Open AsifulNobel opened 5 years ago

AsifulNobel commented 5 years ago

Is there a way to configure the webpack configuration so that assets, styles & scripts properties in angular.json file are included in the finished build? What I mean is that there are usually properties for assets, styles & scripts in angular.json file, where you can mention additional files & directories. That is helpful to include additional global styles and also the file order in those property arrays are maintained after generating the client-side angular pages. But I did not find anything like that in this starter. At the moment, it looks like only css files that are referenced in styleUrls property are getting included. Is it expected that global style files should be manually referenced on _Layout.cshtml?

I am not very experienced with the webpack build system. So, am I missing something here?