Skip to content

Commit

Permalink
feat: Revert to es5 compilation
Browse files Browse the repository at this point in the history
Fixes #30
  • Loading branch information
derekfinlinson committed May 16, 2019
1 parent c63cff5 commit cfc9474
Show file tree
Hide file tree
Showing 11 changed files with 5,394 additions and 5,196 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ npm install --save-dev xrm-webapi
```
### Usage

As of v5, the WebApi class has been replaced by individual functions instead of the WebApi class. This allows for importing individual functions instead of the entire library to take advantage of tree shaking to reduce bundle size. I recommend using [Babel](https://babeljs.io/) in
your builds to compile your scripts to browser compliant JavaScript. Feel free to use [d365-cli](https://github.com/derekfinlinson/d365-cli)
which sets up a ready to use web resources project.

#### Browser
```typescript
import { Guid, retrieve, WebApiConfig } from "xrm-webapi";
Expand Down

0 comments on commit cfc9474

Please sign in to comment.