Thanks to visit codestin.com
Credit goes to github.com

Skip to content

codiechanel/netlify-lambda

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netlify Lambda CLI

Based on Netlify-Lambda. Modified to suit personal workflow.

Installation

npm install @codiechanel/netlify-lambda

or

yarn add @codiechanel/netlify-lambda

Changes:

  1. Removed webpack dependency. Since create-react-app already includes webpack, it becomes redundant having 2 webpack versions co-exist in the node modules folder.
  2. Now using Babel 7. Since the new react-scripts@next uses Babel 7, it's a good move to adopt it, again to avoid package redundancy.
  3. It now uses the new @babel/preset-env which allows us to target specific node versions by just adding this option:
{
              "presets": [
                [
                  "@babel/preset-env",
                  {
                    "targets": {
                      "node": "6.10"
                    }
                  }
                ]
              ]
            }

License

MIT

About

Forked from Netlify. Modified for use with create-react-app version 2 and react-scripts@next.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%