Skip to content

fix: enable compatibility for loading native ES modules with require()#570

Open
christiantakle wants to merge 1 commit intofloydspace:masterfrom
christiantakle:patch-1
Open

fix: enable compatibility for loading native ES modules with require()#570
christiantakle wants to merge 1 commit intofloydspace:masterfrom
christiantakle:patch-1

Conversation

@christiantakle
Copy link
Copy Markdown

Doing something similar to:
serverless/serverless@8b960a2

I noticed an error when trying to use the function style config. e.g. esbuild.config.mjs. using node@20.19.0

Note that I did the change in node_modules and ported the code using github "edit".

Let me know if I have to do something special or make changes.

Its simple enough that you can apply something similar yourself and discard this.

Cheers.

Doing something similar to:
serverless/serverless@8b960a2

I noticed an error when trying to use the function style config. e.g. `esbuild.config.mjs`. using node@20.19.0

Note that I did the change in node_modules and ported the code using github "edit".

Let me know if I have to do something special or make changes.

Its simple enough that you can apply something similar yourself and discard this.

Cheers.
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.

1 participant