-
Not sure if I'm understanding the new bundling system correctly. Now I have a Blazor and a Blazor.Client project. Inside ConfigureBundles I also added options.Mode = BundlingMode.Bundle; to make sure the bundle is generated during build. Am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
hi |
Beta Was this translation helpful? Give feedback.
-
I read the article and it works for modules, but it looks like it's not working for a client application.
When I switch to Test environment for example, the bundling is started (due to Auto mode) but not my custom additions:
|
Beta Was this translation helpful? Give feedback.
-
The same is for the default Blazor WebApp template.
But the file is never added to the bundle when running the application |
Beta Was this translation helpful? Give feedback.
-
@maliming I can see that the change is in the new version. Please also clean the template by removing the unused usings in the Blazor.Client Module: |
Beta Was this translation helpful? Give feedback.
Hi, I tried to move the Contributors from Blazor.Client to Blazor and got good results.
What I changed: