Skip to content

Asynchronous configuration object support for Webpack #412

@nidin

Description

@nidin

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions