Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only works when metafile: true passed in config #8

Closed
coyoteecd opened this issue Jun 21, 2022 · 0 comments · Fixed by #10
Closed

Only works when metafile: true passed in config #8

coyoteecd opened this issue Jun 21, 2022 · 0 comments · Fixed by #10

Comments

@coyoteecd
Copy link
Contributor

This plugin requires that serverless-esbuild plugin is configured with metafile: true option. Otherwise it gives an error complaining the metadata cannot be found.

I see that the code is meant to set the option automatically, however on the latest Serverless v3.x this doesn't work anymore. It appears that the custom.esbuild settings are overwritten, so the metafile flag is "lost" just before the build happens.

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 a pull request may close this issue.

1 participant