Skip to content
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

Explain how BuildBundlerMinifier works #3

Open
sahinyanlik opened this issue Sep 20, 2017 · 3 comments
Open

Explain how BuildBundlerMinifier works #3

sahinyanlik opened this issue Sep 20, 2017 · 3 comments
Assignees
Milestone

Comments

@sahinyanlik
Copy link

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.

@nbarbettini
Copy link
Owner

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?

@nbarbettini
Copy link
Owner

Either way, I'll add a note about BuildBundlerMinifier. 👍

@nbarbettini nbarbettini self-assigned this Sep 23, 2017
@nbarbettini nbarbettini changed the title Builder for minifiers Explain how BuildBundlerMinifier works Sep 30, 2017
@nbarbettini nbarbettini added this to the 1.1 milestone Sep 30, 2017
@nbarbettini nbarbettini modified the milestones: 1.1, 2.0 Jan 15, 2018
@nbarbettini
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants