Fix typos and include SCSS synchronously.

This commit is contained in:
CJ Cenizal 2016-12-09 16:33:17 -08:00
parent 43854bccc4
commit fe5bab1d81
3 changed files with 6 additions and 3 deletions

View file

@ -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' },

View file

@ -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.

View file

@ -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);