Skip to content

Commit 29d24b6

Browse files
authoredNov 22, 2021
docs: add the bundling instruction for Webpack (#1236)
1 parent 3b64b2f commit 29d24b6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎docs/bundling.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,8 @@ globalThis.__bundlerPathsOverrides = {
2727
};
2828
```
2929

30-
Note that `pino/file`, `pino-worker`, `pino-pipeline-worker` and `thread-stream-worker` are required identifiers. Other identifiers are possible based on the user configuration.
30+
Note that `pino/file`, `pino-worker`, `pino-pipeline-worker` and `thread-stream-worker` are required identifiers. Other identifiers are possible based on the user configuration.
31+
32+
## Webpack Plugin
33+
34+
If you are a Webpack user, you can achieve this with [pino-webpack-plugin](https://github.com/pinojs/pino-webpack-plugin) without manual configuration of `__bundlerPathsOverrides`; however, you still need to configure it manually if you are using other bundlers.

0 commit comments

Comments
 (0)
Please sign in to comment.