Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wizawu committed Apr 4, 2018
1 parent 43b2687 commit 966184f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -659,8 +659,7 @@ Creates a SourceNode from generated code and a SourceMapConsumer.

```js
const consumer = await new SourceMapConsumer(fs.readFileSync("path/to/my-file.js.map", "utf8"));
onst node = SourceNode.fromStringWithSourceMap(fs.readFileSync("path/to/my-file.js"),
consumer);
const node = SourceNode.fromStringWithSourceMap(fs.readFileSync("path/to/my-file.js"), consumer);
```

#### SourceNode.prototype.add(chunk)
Expand Down

0 comments on commit 966184f

Please sign in to comment.