mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Merge pull request #19109 from twbs/fix-18569
Integrate postcss-flexbugs-fixes into build Refs #18569.
This commit is contained in:
commit
a5ea86747a
@ -212,6 +212,7 @@ module.exports = function (grunt) {
|
||||
map: true,
|
||||
processors: [
|
||||
mq4HoverShim.postprocessorFor({ hoverSelectorPrefix: '.bs-true-hover ' }),
|
||||
require('postcss-flexbugs-fixes')(),
|
||||
autoprefixer
|
||||
]
|
||||
},
|
||||
|
@ -21,7 +21,7 @@ Download just the compiled and minified CSS and JavaScript. Doesn't include any
|
||||
<div class="col-sm-6">
|
||||
{% markdown %}
|
||||
### Source files
|
||||
Download everything: source Sass, JavaScript, and documentation files. **Requires a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), and [some setup]({{ site.baseurl }}/getting-started/build-tools/#tooling-setup).**
|
||||
Download everything: source Sass, JavaScript, and documentation files. **Requires a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes), and [some setup]({{ site.baseurl }}/getting-started/build-tools/#tooling-setup).**
|
||||
|
||||
<a href="{{ site.download.source }}" class="btn btn-bs btn-outline" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download source');">Download source</a>
|
||||
{% endmarkdown %}
|
||||
@ -30,7 +30,7 @@ Download everything: source Sass, JavaScript, and documentation files. **Require
|
||||
|
||||
## Package managers
|
||||
|
||||
Pull in Bootstrap's **source files** into nearly any project with some of the most popular package managers. No matter the package manager, Bootstrap will **require a Sass compiler and [Autoprefixer](https://github.com/postcss/autoprefixer)** for a setup that matches our official compiled versions.
|
||||
Pull in Bootstrap's **source files** into nearly any project with some of the most popular package managers. No matter the package manager, Bootstrap will **require a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), and [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes)** for a setup that matches our official compiled versions.
|
||||
|
||||
{% callout warning %}
|
||||
**Heads up!** Not all package managers have the v4 alpha published yet, but we should have them up shortly!
|
||||
|
@ -19,7 +19,7 @@ Flexbox support is available for a number of Bootstrap's components:
|
||||
- Input groups, which move from `display: table;` to `display: flex;`.
|
||||
- The media component moves from `display: table;` and a number of hacky styles to a simple `display: flex;`.
|
||||
|
||||
Vendor prefixes are provided in our compiled CSS with Autoprefixer via Grunt.
|
||||
Vendor prefixes are provided in our compiled CSS with [Autoprefixer](https://github.com/postcss/autoprefixer) via Grunt. Some bugs in IE10-11's Flexbox implementation are worked around via [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes).
|
||||
|
||||
## Why flexbox?
|
||||
|
||||
|
5
grunt/npm-shrinkwrap.json
generated
5
grunt/npm-shrinkwrap.json
generated
@ -2641,6 +2641,11 @@
|
||||
"from": "postcss@>=5.0.19 <6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-5.0.21.tgz"
|
||||
},
|
||||
"postcss-flexbugs-fixes": {
|
||||
"version": "2.0.0",
|
||||
"from": "postcss-flexbugs-fixes@>=2.0.0 <3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-2.0.0.tgz"
|
||||
},
|
||||
"postcss-value-parser": {
|
||||
"version": "3.3.0",
|
||||
"from": "postcss-value-parser@>=3.2.3 <4.0.0",
|
||||
|
@ -64,6 +64,7 @@
|
||||
"is-travis": "^1.0.0",
|
||||
"load-grunt-tasks": "^3.4.0",
|
||||
"mq4-hover-shim": "^0.3.0",
|
||||
"postcss-flexbugs-fixes": "^2.0.0",
|
||||
"shelljs": "^0.6.0",
|
||||
"time-grunt": "^1.2.1"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user