Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Remove dynamic require #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Rauttis
Copy link

@Rauttis Rauttis commented Aug 17, 2021

As far as I can tell this dynamic require doesn't need to be dynamic. Currently it is causing issues with some bundlers like esbuild, which do not include the reserved.js file in the final bundle due to the dynamic import.

Should fix
#28
#29

@waynenilsen
Copy link

I'm using this patch, thank you :) looking forward to merge by maintainers

@zerubeus
Copy link

For maintainers, thanks for this lib, just wanted to add that dynamic require are not considered module friendly, especially when you develop a library for the npm ecosystem, I think this PR need to be merged ASAP.

@ricardovsilva
Copy link

UP! Please merge this one! And ty for this lib!

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.

4 participants