Open SanderKnape opened 2 years ago
This also breaks serverless-azure-functions.
Is there any timeframe for fixing this? Its an open dependency for working with lambda layers which is a common used pattern : https://github.com/serverless/serverless-plugin-typescript/issues/240
Without this fix this plugin is rendered useless in working with layers without including other plugins such as serverless-jetpack
hello, i have a possible solution for this can someone give me the rights to open a PR please?
also, a workaround here is to include your graphql schema location in the pacakge.patterns array like so:
app: foobar
…
package:
excludeDevDependencies: true
patterns:
- '!node_modules/aws-sdk'
- '!node_modules/**/aws-sdk/**'
- '!.vscode/**'
- '!.dynamodb/**'
- 'schema.graphql'
…
@medikoo tagging you to point you to my comment above :)
Hello. This package overrides the servicePath, causing issues for other plugins that are now trying to find files (such as the
schema.graphql
) in the.build
folder instead of the root.I ran into this issue with the serverless-appsync-simulator, and I see it also causes issues when using Lambda layers.
Is there any chance this functionality can be changed to improve compatibility with other plugins?