-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
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
Productionize ClientAssets #40572
Comments
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
The problem I have with Microsoft.AspNetCore.ClientAssets is that it does not support watch mode as far as I know. |
@Liero It is not clear to me how watch would play a role here. This is not about "running" the project on VS or the CLI but about doing a one-shot build. If you wanted to use something like watch, you would start the Web app and then would call watch on a terminal to get the process going. |
How do I write and test the client assets, e.g. some scss and typescript for UI components? In a demo or test project that references the RCL and without being able to run in watch mode, it is very painful. If I need to do full "one-shot" build each time I change a scss or typescript, development of those components takes forever. It's very frustrating, that all the tools required to build client assets supports watch mode, but there no convenient (nor easy) way to use it in Blazor RCL. At the end, the |
ClientAssets has generally worked but I had to make some hacky modifications to get it to call |
@benlongo thanks for the additional details. Part of productionizing this workload involves finding out the right knobs to ensure that it works well in multiple configurations and with multiple tools. |
Yet another scenario: I'm about to split a Web app into multiple smaller RCL projects (project per subdomain + shared project). I'm not sure whether |
Closing in favor of the tracking issue #38445 |
We see people struggle with integrating third-party JS assets into the ASP.NET Core pipeline.
This issue tracks productionizing the package Microsoft.AspNetCore.ClientAssets that we put out a while ago to simplify this process..
More details here
The text was updated successfully, but these errors were encountered: