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

docs: Fix formatting typos in README #223

Merged
merged 1 commit into from
Jan 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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