Skip to content

Commit d867d02

Browse files
fix inconsistent heading, beautify webpack 2 example
1 parent d0d364f commit d867d02

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,15 @@ module.exports = {
7979
{
8080
test: /\.css$/,
8181
use: [
82-
'style-loader', {
82+
'style-loader',
83+
{
8384
loader: 'css-loader',
8485
options: { importLoaders: 1 }
85-
}, {
86+
},
87+
{
8688
loader: 'postcss-loader',
8789
plugins: function () {
88-
return [
89-
require('precss'),
90-
require('autoprefixer')
91-
];
90+
return [ require('precss'), require('autoprefixer')];
9291
}
9392
}
9493
]
@@ -203,7 +202,7 @@ or use [postcss-modules] plugin instead of `css-loader`.
203202
[cannot be used]: https://github.com/webpack/css-loader/issues/137
204203
[CSS Modules]: https://github.com/webpack/css-loader#css-modules
205204

206-
#### JS Styles
205+
### JS Styles
207206

208207
If you want to process styles written in JavaScript
209208
you can use the [postcss-js] parser.

0 commit comments

Comments
 (0)