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

serverless package --package option is ignored #904

Open
chaoyangnz opened this issue Jul 7, 2021 · 0 comments
Open

serverless package --package option is ignored #904

chaoyangnz opened this issue Jul 7, 2021 · 0 comments

Comments

@chaoyangnz
Copy link

This is a Bug Report

Description

When I run serverless package --package and I expect the artifact will be put in the specified folder rather than the default .serverless.

This plugin ignored the option and hard-coded the path:

const serverlessArtifact = path.join('.serverless', archiveName);

which causes the wrong package artifact path in serverless-state.json.

Additional Data

  • Serverless-Webpack Version you're using:
  • Webpack version you're using:
  • Serverless Framework Version you're using:
  • Operating System:
  • Stack Trace (if available):
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

No branches or pull requests

1 participant