Avoid changing this.serverless.config.servicePath
See original GitHub issueHi!
First off, thanks for this plugin! I have been trying it and it looks awesome! A decent alternative to Webpack, indeed.
I am having compatibility issues with another plugin though (specifically with serverless-appsync-simulator). It is an offline solution for AppSync and it relies on this.serverless.config.servicePath
in order to build some config objects.
Since the servicePath is being suffixed with /.build
, it cannot find some files it requires.
I was wondering what was the purpose of this override? My understanding is that it is to make serverless-offline work as it is looking for the handlers in that path. Am I missing something else?
I think it is probably a bad idea to change serverless config like such as there is always a risk to affect other plugins or the serverless implementation itself.
I’d be happy to help to find solutions and alternatives to this, but I’d like to have a better understanding of the motivations and consequences this could have.
Thank you
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
🎉 This issue has been resolved in version 1.8.2 🎉
The release is available on:
Your semantic-release bot 📦🚀
hey @bboure you can see that we have a PR here https://github.com/floydspace/serverless-esbuild/pull/93 - would you mind trying this version in your repo to see if it builds fine ?