Skip to content

Commit

Permalink
Merge pull request #329 from wizawu/master
Browse files Browse the repository at this point in the history
Typo
  • Loading branch information
tromey committed Apr 4, 2018
2 parents 43b2687 + 966184f commit c1e2ec8
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 c1e2ec8

Please sign in to comment.