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

Asynchronous configuration object support for Webpack #412

Closed
nidin opened this Issue Jun 20, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@nidin
Copy link
Contributor

nidin commented Jun 20, 2018

This is a Feature Proposal

Description

Webpack 2+ support async configuration object by exporting a promise as configuration object.
This is a feature request to support async configuration object. This feature helps to define env variables and constants inside code after an async operation inside webpack.config.js. for example defining AccountId of current user inside lambda@edge which does not support defining normal process environment variables.

Similar or dependent issue(s):

Additional Data

  • Serverless-Webpack Version: 5.1.5
  • Webpack version: 4.11.1
  • Serverless Framework Version: 1.27.2
  • Operating System: MacOS High Sierra (10.13.5)
  • Stack Trace:

nidin added a commit to nidin/serverless-webpack that referenced this issue Jun 20, 2018

Added support for async webpack config object
Webpack 2+ support async configuration object by exporting a promise as configuration object.
This PR added support for async configuration object.
Closes serverless-heaven#412

@nidin nidin referenced this issue Jun 20, 2018

Merged

Added support for async webpack config object #413

7 of 7 tasks complete

@HyperBrain HyperBrain added the feature label Jun 21, 2018

@HyperBrain HyperBrain added this to the 5.2.0 milestone Jun 21, 2018

@renovate renovate bot referenced this issue Nov 9, 2018

Open

chore(deps): serverless-webpack #17

0 of 1 task complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment