little-aspnetcore-book
little-aspnetcore-book copied to clipboard
Explain how BuildBundlerMinifier works
Hello I try to follow your example. Can you please write somewhere that for building site.js, or site.css we need to add "dotnet add package BuildBundlerMinifier". Otherwise example in this page "https://nbarbettini.gitbooks.io/little-asp-net-core-book/content/chapters/add-more-features/add-todo-items.html" will not work. At least in my case it didn't.
It sounds like ASP.NET Core is running in Production mode because it isn't finding the ASPNETCORE_ENVIRONMENT
variable. When you start up the server, does it say Development
or Production
?
Either way, I'll add a note about BuildBundlerMinifier. 👍
Another person who ran into this issue: https://www.gitbook.com/book/nbarbettini/little-asp-net-core-book/discussions/31
Note to self: we need to make it more clear that setting ASPNETCORE_ENVIRONMENT
is necessary.