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

Set webpack target property to "node" in case it is missing in the config #276

Closed
HyperBrain opened this issue Nov 15, 2017 · 1 comment · Fixed by #282
Closed

Set webpack target property to "node" in case it is missing in the config #276

HyperBrain opened this issue Nov 15, 2017 · 1 comment · Fixed by #282
Milestone

Comments

@HyperBrain
Copy link
Member

This is a Feature Proposal

Description

It turned out in #274 , that, when the target: "node" property is missing in the webpack configuration, the compiles mostly work, but are missing the environment variables.
For the user this is not obvious, but can be checked by the plugin easily. It would be a great UX improvement, if the plugin could warn about the missing setting and set it to "node" automatically if absent.

Similar or dependent issue(s):

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):
@HyperBrain
Copy link
Member Author

Released with 4.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant