Skip to content

fix: Add guard for undefined global module#237

Open
Ashr4f wants to merge 1 commit into
theKashey:masterfrom
Ashr4f:patch-1
Open

fix: Add guard for undefined global module#237
Ashr4f wants to merge 1 commit into
theKashey:masterfrom
Ashr4f:patch-1

Conversation

@Ashr4f

@Ashr4f Ashr4f commented Dec 12, 2024

Copy link
Copy Markdown

Based on bundler (Vite for example), module might be undefined, I've added a guard to fix this problem.

Error example:

Uncaught ReferenceError: module is not defined

Based on bundler, module might be undefined, I've added a guard to fix this problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant