generated from imranbarbhuiya/package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Issue description
Hi,
I'm trying to use this plugin in my esbuild bundling file. But it seems like it is not working.
I got this error:
1 warning and 47 errors
Build failed: Error: Build failed with 47 errors:
node_modules/@etherspot/prime-sdk/node_modules/ws/lib/permessage-deflate.js:3:21: ERROR: Could not resolve "zlib"
node_modules/@etherspot/prime-sdk/node_modules/ws/lib/receiver.js:3:29: ERROR: Could not resolve "stream"
node_modules/@etherspot/prime-sdk/node_modules/ws/lib/sender.js:3:35: ERROR: Could not resolve "crypto"
node_modules/@etherspot/prime-sdk/node_modules/ws/lib/stream.js:3:27: ERROR: Could not resolve "stream"
node_modules/@etherspot/prime-sdk/node_modules/ws/lib/websocket-server.js:4:31: ERROR: Could not resolve "crypto"
Do i do something wrong ?
Esbuild plateform is "browser" and "node". If i put "node" error goes awayt but it caused other problem in my bundle.
Thanks.
Code sample
Code is here:
https://github.com/BowgartField/esbuild-polyfill-bug-reportPackage version
1.7.0
Node.js version
v22.0.0
Operating system
macos
I have tested this issue on a next release
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels