0.2.11 • Published 6 years ago

@codiechanel/netlify-lambda v0.2.11

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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