Skip to content

Conversation

@ComLock
Copy link

@ComLock ComLock commented Apr 26, 2023

No description provided.

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't need to - this is a node module, and all non-broken node module bundlers polyfill process automatically.

@ljharb ljharb closed this Apr 27, 2023
@ComLock
Copy link
Author

ComLock commented Apr 27, 2023

I'm using tsup, with esbuild and swc(for commonjs).

@ljharb
Copy link
Member

ljharb commented Apr 27, 2023

If esbuild doesn't polyfill process by default, then it's broken - presumably you can configure it to do that, though.

@ComLock
Copy link
Author

ComLock commented Apr 27, 2023

I'll try this one (tomorrow) https://github.com/cyco130/esbuild-plugin-polyfill-node

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.

2 participants