Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
@javiercn I've implemented the section of your blog post about the ClientAssets beta that follows the "Reusing MsBuild code" to just try to build my css
-
In the blog post most of the first 'PropertyGroup' elements have improper closures, nothing serious that isn't easy to fix
-
When I run a build I see the 'npm install' run followed by my commands to build css, but then the 'npm install' runs again as does the build command, this time with an output parameter added to the npm command
1>> [email protected] buildStaticWebAssetsCSS
1>> npm run build-css2&&npm run build-min-css2&npm run build-material-css2 "-o" "C:\\Solutions\\OHI\\Material.Blazor\\Material.Blazor\\obj\\Debug\\net6.0\\clientassets/"
- To have separated css/js builds is it simply replicating the target NpmRunBuild step, changing files as needed?
Expected Behavior
I don't expect the duplicate 'runs' of npm & build
Steps To Reproduce
See bug description
Exceptions (if any)
No response
.NET Version
6.0.301