Skip to content

Commit e73d271

Browse files
committed
Updated docs comment
1 parent ad6be5c commit e73d271

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

website/docs/introduction/docusaurus-usage.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ plugins: [
4040
if (isServer) return {}
4141

4242
return {
43-
// Add webpack globals to all chunks to fix worker context issues
44-
// This resolves the "__webpack_require__ is not defined" error in web workers
43+
// Inject fallback __webpack_require__ object to prevent web worker errors
4544
plugins: [
4645
new (require('webpack').BannerPlugin)({
4746
banner: `

website/docusaurus.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ const config = {
101101
if (isServer) return {}
102102

103103
return {
104-
// Add webpack globals to all chunks to fix worker context issues
105-
// This resolves the "__webpack_require__ is not defined" error in web workers
104+
// Inject fallback __webpack_require__ object to prevent web worker errors
106105
plugins: [
107106
new (require('webpack').BannerPlugin)({
108107
banner: `

0 commit comments

Comments
 (0)