Building package.json with ClientAssets results in 404 Not Found #38898
Labels
area-blazor
Includes: Blazor, Razor Components
feature-blazor-client-assets
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
investigate
Status: Resolved
Milestone
Hello,
I have changed the semi-automatic build process to use the new alpha version ClientAssets NuGet following the blog and sample, unfortunately, it does not work for my case.
The npm install and build script ran fine. Outputting the correct .js files into the obj folder the set script in index file is in the current format
unfortunately getting the
Using .net5.0, running Blazer hosted via http.sys
When using the semi-automatic build I was having the beforeBuild task in .csproj running the webpack and copying the file in the
ComponentsLibrary/wwwroot/dist that worked fine
webpack ./src/dockmanager.js -o ../wwwroot/dockManager.bundle"
now I have just
webpack ./src/dockmanager.js
which results in files being in the
"ComponentsLibrary\obj\Debug\clientassets\749.js"
"ComponentsLibrary\obj\Debug\clientassets\main.js"
Did I miss some configuration?
Thank you for your help,
Stanislav.
The text was updated successfully, but these errors were encountered: