Skip to content

Reassigned minification of CSS files from the less task to the cssmin ta... - #13624

Merged
XhmikosR merged 1 commit into
twbs:masterfrom
robertdodd:master
May 19, 2014
Merged

XhmikosR merged 1 commit into
twbs:masterfrom
robertdodd:master

Conversation

@robertdodd

Copy link
Copy Markdown
Contributor

Reassigned minification of CSS files from the less task to the cssmin task.

This fixes issue #1304 when using escaped code in LESS.

Comment thread Gruntfile.js Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RTL has been removed from the main repo; please delete this line.

@cvrebert cvrebert added the grunt label May 19, 2014
@cvrebert cvrebert added this to the v3.2.0 milestone May 19, 2014
@cvrebert

Copy link
Copy Markdown
Collaborator

CC: @XhmikosR

@XhmikosR

Copy link
Copy Markdown
Member

I don't think this change is right. I don't see the less minify code removed https://github.com/robertdodd/bootstrap/blob/master/Gruntfile.js#L179

Plus what @cvrebert commented above.

@robertdodd

Copy link
Copy Markdown
Contributor Author

Okay I think I got it all now, let me know.

Comment thread Gruntfile.js Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move core before docs here.

@XhmikosR

Copy link
Copy Markdown
Member

It's almost ready. If you are going to include the minified files in the PR, please do it in a separate patch and squash the other two since they refer to the same change.

Reassigned minification of CSS files from the less task to the cssmin
task
@robertdodd

Copy link
Copy Markdown
Contributor Author

I cleaned it up some, hows that?

@XhmikosR

Copy link
Copy Markdown
Member

I think now it's fine. I will check it out locally later unless someone else beats me to it.

@XhmikosR

Copy link
Copy Markdown
Member

I tested things locally, everything seems to be fine with IE8-10 and normal browsers.

On the plus side, we save some bytes due to clean-css' advanced optimizations which are on by default (less disables them explicitly).

I'll merge this when I'm back home later today.

XhmikosR added a commit that referenced this pull request May 19, 2014
Reassigned minification of CSS files to the cssmin task.
@XhmikosR
XhmikosR merged commit 3dd1531 into twbs:master May 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build scripts, bundling, dist/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants