Open zorn-v opened 1 year ago
Vite 3 show warning in console Module "os" has been externalized for browser compatibility. Cannot access "os.networkInterfaces" in client code.
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.
require
__require
.vite/deps/uniqid.js
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.