Skip to content

ryanmurakami/webpack-on-aws

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Examples running webpack v5 on AWS

Running webpack on AWS Video

1. Run on AWS CodeBuild

  • Create a CloudFormation stack with .aws/codepipeline.template
  • Update the source to your repo
  • Create a new stage & action
  • Create a new CodeBuild project
    • It should use the buildspec.yml at the root of this project
  • Run the pipeline

2. Run on AWS Amplify

  • Create a new Amplify project connected to a GitHub repo
  • It just works!

3. Run on AWS Lambda

  • Create a new Lambda function
  • Zip this repo and upload
  • Increase the resources (to around 1024mb)
  • Set timeout to 30 seconds
  • Set handler to lambda.build
  • Run & test

License

All Images copyright Ryan Lewis

All Code under MIT license

About

Examples for running webpack 5 on AWS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published