-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add webpack sample * Add note about recommended npm version
- Loading branch information
1 parent
6d7db3b
commit 90547af
Showing
9 changed files
with
12,495 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Typed Rest Client Webpack Sample | ||
|
||
## Description | ||
|
||
This is a basic example of using Typed Rest Client in a browser via `webpack`. | ||
|
||
It uses `webpack 5` for build and run browser-ready bundle. | ||
|
||
## Requirements | ||
|
||
It requires `nodejs` >= `10.x` to run. | ||
|
||
It is recommended to use `npm 8.x` to minimize friction between package-lock formatting. | ||
|
||
## Usage | ||
|
||
To run this sample, enter following commands at the command line: | ||
|
||
```sh | ||
npm i | ||
npm run start | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-env" | ||
] | ||
} |
Oops, something went wrong.