-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Bundled CSS not Minifying #346
Comments
Are you using Bootstrap 4? Because if you are, it's bug I'm in process of fixing: #306 Just first need NUglify team to update dependency. In the meantime workaround is either to migrate to Gulp or remove variables in |
@lepipele - Yes, I am using BS4. Thank you for the information. |
Confirmed that Bootstrap 4 now properly works with the most current version of Bundler & Minifier. Both the bundle and minified bundle are generated. |
Version: 2.6.378 |
@morphosic check if you have both extension and NuGet DLL referenced in the project. I advise everyone to uninstall extension and just use NuGet DLL - that way solution can bundle on different dev machines. |
Err... not CSS expert, but are you @morphosic sure you are allowed class selectors inside of Could be bug in WebCompiler (https://github.com/madskristensen/WebCompiler) Well, anyways glad to hear at least now you get error log on why CSS bundling is not working for you ;) |
Yeah, I see you've logged it on: madskristensen/WebCompiler#370 I'll mention it to @madskristensen when we talk... see if anyone can step up to take over WebCompiler since I definitely don't have time to code that also. If you do end up coding Pull Request and sending it - let me know, I can review and merge. |
Installed product versions
Description
I'm creating a "Vendors" CSS bundle from node_modules (bootstrap + font-awesome). It correctly creates the vendors.bundle.css file, however, it does not take the additional step of minifying it down to vendors.bundle.min.css like it used to.
Steps to recreate
Current behavior
It generates the bundled css file in non-minified format, despite having "minify" flag set to true.
Expected behavior
Should create both the bundled and minified bundled versions of the CSS file, like it does for JS.
The text was updated successfully, but these errors were encountered: