-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from emmaodia/master
Fix: Errors in the React-Vite Tutorial
- Loading branch information
Showing
2 changed files
with
13 additions
and
4 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 |
---|---|---|
|
@@ -44,16 +44,18 @@ yarn add | |
@biconomy/core-types | ||
@biconomy/paymaster | ||
@biconomy/web3-auth | ||
@biconomy/modules | ||
[email protected] | ||
``` | ||
|
||
We will use these tools to build out our front end. In addition, lets also | ||
We will use these tools to build out our front end. In addition, let's also | ||
install the following devDependencies: | ||
|
||
```bash | ||
yarn add @esbuild-plugins/node-globals-polyfill rollup-plugin-polyfill-node stream-browserify -D | ||
``` | ||
|
||
After installing the above dependencies update you vite.config.ts to the | ||
After installing the above dependencies update your `vite.config.ts` to the | ||
following: | ||
|
||
```js | ||
|
@@ -77,7 +79,6 @@ export default defineConfig({ | |
}, | ||
resolve: { | ||
alias: { | ||
process: "process/browser", | ||
stream: "stream-browserify", | ||
util: "util", | ||
}, | ||
|
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