Skip to content

Commit

Permalink
docs(README): add missing comas in code examples (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek authored and michael-ciniawsky committed May 8, 2017
1 parent da378e5 commit e57cd91
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ module.exports = ({ file, options, env }) => ({
test: /\.sss$/,
use: [
...,
{ loader: 'postcss-loader' options: { parser: 'sugarss' } }
{ loader: 'postcss-loader', options: { parser: 'sugarss' } }
]
}
```
Expand All @@ -241,7 +241,7 @@ module.exports = ({ file, options, env }) => ({
test: /\.css$/,
use: [
...,
{ loader: 'postcss-loader' options: { syntax: 'sugarss' } }
{ loader: 'postcss-loader', options: { syntax: 'sugarss' } }
]
}
```
Expand All @@ -254,7 +254,7 @@ module.exports = ({ file, options, env }) => ({
test: /\.css$/,
use: [
...,
{ loader: 'postcss-loader' options: { stringifier: 'midas' } }
{ loader: 'postcss-loader', options: { stringifier: 'midas' } }
]
}
```
Expand All @@ -271,9 +271,9 @@ Enables source map support, `postcss-loader` will use the previous source map gi
test: /\.css/,
use: [
{ loader: 'style-loader', options: { sourceMap: true } },
{ loader: 'css-loader' options: { sourceMap: true } },
{ loader: 'postcss-loader' options: { sourceMap: true } },
{ loader: 'sass-loader' options: { sourceMap: true } }
{ loader: 'css-loader', options: { sourceMap: true } },
{ loader: 'postcss-loader', options: { sourceMap: true } },
{ loader: 'sass-loader', options: { sourceMap: true } }
]
}
```
Expand Down Expand Up @@ -360,7 +360,7 @@ If you want to process styles written in JavaScript, use the [postcss-js] parser
test: /\.style.js$/,
use: [
'style-loader',
{ loader: 'css-loader' options: { importLoaders: 2 } },
{ loader: 'css-loader', options: { importLoaders: 2 } },
{ loader: 'postcss-loader', options: { parser: 'postcss-js' } },
'babel-loader'
]
Expand Down Expand Up @@ -406,7 +406,7 @@ module.exports = {
use: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: [
{ loader: 'css-loader' options: { importLoaders: 1 } },
{ loader: 'css-loader', options: { importLoaders: 1 } },
'postcss-loader'
]
})
Expand Down Expand Up @@ -459,4 +459,4 @@ module.exports = {
[cover-url]: https://coveralls.io/github/postcss/postcss-loader

[chat]: https://badges.gitter.im/postcss/postcss.svg
[chat-url]: https://gitter.im/postcss/postcss
[chat-url]: https://gitter.im/postcss/postcss

0 comments on commit e57cd91

Please sign in to comment.