node-lambda and Webpack

Open
#383 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
20/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
aws, javascript, node.js, webpack
Domain
cli, cloud

Research direction

Start with the README section describing the --prebuiltDirectory flag and trace the node-lambda packaging behavior relevant to a Webpack bundle.js. Document a working Webpack and prebuiltDirectory example, including the configuration details needed for deployment, and verify that the documented example packages successfully.

Written by the indexing model from the issue text.

Description

question

From the readme:

The --prebuiltDirectory flag is useful for working with Webpack for example. It skips npm install --> production and post_install.sh and simply packages the specified directory.

Where can I find more info about how to configure Webpack for use with node-lambda and the prebuiltDirectory flag? Simply placing the Webpack bundle.js in the prebuiltDirectory won't work. Anyone have an example?

Dominant language
JavaScript
Stars
1.4k
Forks
185
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from motdotla/node-lambda

All issues in motdotla/node-lambda

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.