Skip to content

Commit

Permalink
improve md
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmatatjahu committed Sep 9, 2022
1 parent a23a493 commit 6f90c9d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ const parser = new Parser();
const { parsed, diagnostics } = parser.parse(...);
```

> **NOTE**: Using the above code, we import the entire bundled parser into application. This may result in duplicate code in the final application bundle, only if the application uses the same dependencies what the parser. If, on the other hand, you want to have the smallest bundle possible, we recommend using the following import and properly configure bundler.
> **Note**
> Using the above code, we import the entire bundled parser into application. This may result in duplicate code in the final application bundle, only if the application uses the same dependencies what the parser. If, on the other hand, you want to have the smallest bundle possible, we recommend using the following import and properly configure bundler.
Otherwise, if your application is bundled via bundlers like `webpack` and you can configure it, you can import the parser like a regular package:

Expand All @@ -115,7 +116,8 @@ const parser = new Parser();
const { parsed, diagnostics } = parser.parse(...);
```

> **NOTE**: The package uses some native NodeJS modules underneath. If you are building a front-end application you can find more information about the correct configuration for Webpack [here](#webpack).
> **Note**
> The package uses some native NodeJS modules underneath. If you are building a front-end application you can find more information about the correct configuration for Webpack [here](#webpack).
## Custom schema parsers

Expand Down

0 comments on commit 6f90c9d

Please sign in to comment.