-
Notifications
You must be signed in to change notification settings - Fork 416
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
Enhance plugin for "serverless deploy --package" use case #546
Comments
@kushanson this sounds like a logical extension of the
This sounds like #504 is merged this should be fairly simple to implement by extending the plugin to not re-run Webpack tasks if the I think it is worth keeping the |
@jamesmbourne you understand correctly. What you commented sounds good to me. |
@jamesmbourne any update on this? |
AFAIK Tested with the typescript example, webpack compile is not running when @trent-dailey @jamesmbourne Feel free to reopen this if the problem still persist. |
This is a Feature Proposal
Description
Enhance serverless-webpack such that it does not execute any webpack tasks during "serverless deploy" when the "--package" option is present.
For bug reports:
For feature proposals:
What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us.
Use Case:
serverless supports "--package" option for the "serverless deploy" command. "--package" option is used to point to an already bundled ".serverless" folder. In this case, the webpack bundling would have occurred during "serverless package" phase to generate the ".serverless" folder. Webpack bundling does not need to occur again when using "--package" option with "serverless deploy" command. It would be ideal to not have any dependency on webpack when using "--package" option since all bundling has already occurred.
If there is additional config how would it look
no additional config
Similar or dependent issue(s):
and
deploy #398Additional Data
The text was updated successfully, but these errors were encountered: