Skip to content

Commit

Permalink
Fix typos and include SCSS synchronously.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Dec 10, 2016
1 parent 43854bc commit fe5bab1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/optimize/base_optimizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down
2 changes: 1 addition & 1 deletion src/ui_framework/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fe5bab1

Please sign in to comment.