Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Conversation

@JonasBa
Copy link
Member

@JonasBa JonasBa commented Apr 13, 2023

We have one occurrences of __dirname and require which needs to be transpiled. I avoided the entire build setup process by just adding a replace block script which mods for esm.

Also removed globals like process.env and process.versions which can be imported from node:process and work cross esm and cjs.

@JonasBa JonasBa merged commit 8e4636d into main Apr 13, 2023
@JonasBa JonasBa deleted the jb/esm branch April 13, 2023 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants