Skip to content

Commit

Permalink
docs: fixed missing commas in configuration examples (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
arseniew authored and evilebottnawi committed Oct 6, 2017
1 parent c9707f1 commit 57c457d
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 @@ -151,7 +151,7 @@ This could be used for non local development and production.
**webpack.config.js**
```js
{
loader: 'style-loader'
loader: 'style-loader',
options: {
hmr: false
}
Expand Down Expand Up @@ -246,7 +246,7 @@ If the return value of the `transform` function is falsy, the css will not be lo
**webpack.config.js**
```js
{
loader: 'style-loader'
loader: 'style-loader',
options: {
transform: 'path/to/transform.js'
}
Expand All @@ -268,7 +268,7 @@ module.exports = function (css) {
**webpack.config.js**
```js
{
loader: 'style-loader'
loader: 'style-loader',
options: {
transform: 'path/to/conditional.js'
}
Expand All @@ -294,7 +294,7 @@ By default, the style-loader appends `<style>` elements to the end of the style
**webpack.config.js**
```js
{
loader: 'style-loader'
loader: 'style-loader',
options: {
insertAt: 'top'
}
Expand All @@ -306,7 +306,7 @@ A new `<style>` element can be inserted before a specific element by passing an
**webpack.config.js**
```js
{
loader: 'style-loader'
loader: 'style-loader',
options: {
insertAt: {
before: '#id'
Expand All @@ -322,7 +322,7 @@ You can also insert the styles into a [ShadowRoot](https://developer.mozilla.org
**webpack.config.js**
```js
{
loader: 'style-loader'
loader: 'style-loader',
options: {
insertInto: '#host::shadow>#root'
}
Expand All @@ -338,7 +338,7 @@ If defined, the style-loader will reuse a single `<style>` element, instead of a
**webpack.config.js**
```js
{
loader: 'style-loader'
loader: 'style-loader',
options: {
singleton: true
}
Expand All @@ -352,7 +352,7 @@ Enable/Disable source map loading
**webpack.config.js**
```js
{
loader: 'style-loader'
loader: 'style-loader',
options: {
sourceMap: true
}
Expand All @@ -366,7 +366,7 @@ If convertToAbsoluteUrls and sourceMaps are both enabled, relative urls will be
**webpack.config.js**
```js
{
loader: 'style-loader'
loader: 'style-loader',
options: {
sourceMap: true,
convertToAbsoluteUrls: true
Expand Down

0 comments on commit 57c457d

Please sign in to comment.