Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vite 3 warning #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix vite 3 warning #48

wants to merge 1 commit into from

Conversation

zorn-v
Copy link

@zorn-v zorn-v commented Nov 4, 2022

Vite 3 show warning in console
Module "os" has been externalized for browser compatibility. Cannot access "os.networkInterfaces" in client code.

It replace require to __require in .vite/deps/uniqid.js, so that check is always true as __require is defined there.

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.

None yet

1 participant