Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
docs: Fix formatting typos in README (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
edmorley authored Jan 3, 2020
1 parent 74fa735 commit d0347c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ values()
// a ChainedMap that used .before() or .after().
// returns: Object, undefined if empty
entries()
````
```

```js
// Provide an object which maps its properties and values
Expand Down Expand Up @@ -1378,7 +1378,7 @@ You can inspect the generated webpack config using `config.toString()`. This
will generate a stringified version of the config with comment hints for named
rules, uses and plugins:

``` js
```js
config
.module
.rule('compile')
Expand Down Expand Up @@ -1413,9 +1413,9 @@ if it contains objects and plugins that need to be required. In order to
generate usable config, you can customize how objects and plugins are
stringified by setting a special `__expression` property on them:

``` js
```js
const sass = require('sass');
sass.__expression = `require('sass');
sass.__expression = `require('sass')`;

class MyPlugin {}
MyPlugin.__expression = `require('my-plugin')`;
Expand Down Expand Up @@ -1444,7 +1444,7 @@ config.toString();
Plugins specified via their path will have their `require()` statement generated
automatically:

``` js
```js
config
.plugin('env')
.use(require.resolve('webpack/lib/ProvidePlugin'), [{ jQuery: 'jquery' }])
Expand Down

0 comments on commit d0347c6

Please sign in to comment.