mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Fix typos and include SCSS synchronously.
This commit is contained in:
parent
43854bccc4
commit
fe5bab1d81
3 changed files with 6 additions and 3 deletions
|
@ -110,7 +110,10 @@ class BaseOptimizer {
|
|||
},
|
||||
{
|
||||
test: /\.scss$/,
|
||||
loaders: ['style', 'css', 'sass'],
|
||||
loader: ExtractTextPlugin.extract(
|
||||
'style',
|
||||
`css${mapQ}!autoprefixer${mapQPre}{ "browsers": ["last 2 versions","> 5%"] }!sass${mapQPre}`
|
||||
)
|
||||
},
|
||||
{ test: /\.css$/, loader: ExtractTextPlugin.extract('style', `css${mapQ}`) },
|
||||
{ test: /\.jade$/, loader: 'jade' },
|
||||
|
|
|
@ -35,7 +35,7 @@ By covering our UI components with great unit tests and having those tests live
|
|||
|
||||
In short: we've outgrown it! Third-party CSS frameworks like Bootstrap and Foundation are designed
|
||||
for a general audience, so they offer things we don't need and _don't_ offer things we _do_ need.
|
||||
As a result, we've forced to override their styles until the original framework is no longer
|
||||
As a result, we've been forced to override their styles until the original framework is no longer
|
||||
recognizable. When the CSS reaches that point, it's time to take ownership over it and build
|
||||
your own framework.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import {
|
|||
GuideExample,
|
||||
} from '../../components';
|
||||
|
||||
export default function creatExample(examples) {
|
||||
export default function createExample(examples) {
|
||||
class Example extends GuideExample {
|
||||
constructor(props) {
|
||||
super(props, examples);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue