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

Allow param values in slsw.lib.options #1076

Merged
merged 1 commit into from Mar 24, 2022
Merged

Allow param values in slsw.lib.options #1076

merged 1 commit into from Mar 24, 2022

Conversation

coyoteecd
Copy link
Contributor

What did you implement:

Serverless Framework v3.3 accepts multiple param options, see serverless/serverless#9817.
These are presented in options as a string array, which is incompatible with the previous definition of CLI options included in serverless-webpack.

How did you implement it:

I modified the typings so I can use slsw.lib.options.param.include('xxxx') in my webpack.config.ts file.

How can we verify it:

Todos:

  • Write tests
  • Write documentation
  • Fix linting errors
  • Make sure code coverage hasn't dropped
  • Provide verification config / commands / resources
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: YES
Is it a breaking change?: NO

@j0k3r j0k3r added this to the 5.7.0 milestone Mar 24, 2022
The newly added param value is typed as a string array, see serverless/serverless#9817
@j0k3r j0k3r requested a review from vicary March 24, 2022 10:52
@vicary vicary merged commit 3e34858 into serverless-heaven:master Mar 24, 2022
@j0k3r j0k3r changed the title (fix) allow param values in slsw.lib.options Allow param values in slsw.lib.options Mar 24, 2022
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.

None yet

3 participants