Skip to content

Commit 6190df2

Browse files
authored
update dev dependency install instructions for vite (#1646)
1 parent 804a0e8 commit 6190df2

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/src/routes/docs/[...3]modules/core.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,7 @@ module.exports = function override(config) {
14831483

14841484
Add the following dev dependencies:
14851485

1486-
`yarn add rollup-plugin-polyfill-node -D`
1486+
`yarn add rollup-plugin-polyfill-node crypto-browserify stream-browserify assert -D`
14871487

14881488
Then add the following to your `svelte.config.js` file:
14891489

@@ -1548,7 +1548,7 @@ Checkout a boilerplate example (here)[https://github.com/blocknative/web3-onboar
15481548

15491549
Add the following dev dependencies:
15501550

1551-
`yarn add rollup-plugin-polyfill-node -D`
1551+
`yarn add rollup-plugin-polyfill-node crypto-browserify stream-browserify assert -D`
15521552

15531553
Then add the following to your `svelte.config.js` file:
15541554

@@ -1661,7 +1661,7 @@ Checkout a boilerplate example for Vite-React (here)[https://github.com/blocknat
16611661

16621662
Add the following dev dependencies:
16631663

1664-
`npm i --save-dev rollup-plugin-polyfill-node`
1664+
`npm i --save-dev rollup-plugin-polyfill-node crypto-browserify stream-browserify assert`
16651665

16661666
Then add the following to your `vite.config.js` file:
16671667

docs/src/routes/docs/[...3]modules/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ module.exports = function override(config) {
589589

590590
Add the following dev dependencies:
591591

592-
`npm i --save-dev rollup-plugin-polyfill-node`
592+
`npm i --save-dev rollup-plugin-polyfill-node crypto-browserify stream-browserify assert`
593593

594594
Then add the following to your `vite.config.js` file:
595595

docs/src/routes/docs/[...3]modules/vue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ module.exports = {
449449

450450
Add the following dev dependencies:
451451

452-
`npm i --save-dev rollup-plugin-polyfill-node`
452+
`npm i --save-dev rollup-plugin-polyfill-node crypto-browserify stream-browserify assert`
453453

454454
Then add the following to your `vite.config.js` file:
455455

packages/core/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ module.exports = function override(config) {
13871387

13881388
Add the following dev dependencies:
13891389

1390-
`npm i --save-dev rollup-plugin-polyfill-node`
1390+
`npm i --save-dev rollup-plugin-polyfill-node crypto-browserify stream-browserify assert`
13911391

13921392
Then add the following to your `svelte.config.js` file:
13931393

@@ -1455,7 +1455,7 @@ Checkout a boilerplate example (here)[https://github.com/blocknative/web3-onboar
14551455

14561456
Add the following dev dependencies:
14571457

1458-
`yarn add rollup-plugin-polyfill-node -D`
1458+
`yarn add rollup-plugin-polyfill-node crypto-browserify stream-browserify assert -D`
14591459

14601460
Then add the following to your `svelte.config.js` file:
14611461

@@ -1573,7 +1573,7 @@ Checkout a boilerplate example for Vite-React (here)[https://github.com/blocknat
15731573

15741574
Add the following dev dependencies:
15751575

1576-
`npm i --save-dev rollup-plugin-polyfill-node`
1576+
`npm i --save-dev rollup-plugin-polyfill-node crypto-browserify stream-browserify assert`
15771577

15781578
Then add the following to your `vite.config.js` file:
15791579

0 commit comments

Comments
 (0)