As in Workers have Web Crypto built-in under the crypto global, with methods like getRandomValues an
As in Workers have Web Crypto built-in under the crypto global, with methods like getRandomValues and randomUUID
The package "crypto" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this errorconst uuid = crypto.randomUUID()vite build
.py at all(unless you do your own builds to convert to JS).The package "crypto" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this errorconst uuid = crypto.randomUUID()vite build.py