Skip to content

Commit

Permalink
docs: clarify webpack5 setup with workerpool (#447) (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
im7mortal authored Jun 26, 2024
1 parent 77ec996 commit 7c4582c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ To load workerpool in a web worker in the browser:
importScripts('workerpool.js');
```

Setting up the workerpool with React or webpack5 requires additional configuration steps, as outlined in the [webpack5 section](examples%2Fwebpack5%2FREADME.md).

## Use

### Offload functions dynamically
Expand Down
3 changes: 3 additions & 0 deletions examples/browser/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# React (Webpack) build considerations

If you use the latest React or webpack5, please proceed to the [webpack5 section](../webpack5/README.md).

0 comments on commit 7c4582c

Please sign in to comment.