@codiechanel/netlify-lambda
v0.2.11
Published
Based on Netlify-Lambda. Modified to suit personal workflow.
Downloads
4
Readme
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:
- Removed webpack dependency. Since create-react-app already includes webpack, it becomes redundant having 2 webpack versions co-exist in the node modules folder.
- 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.
- 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"
}
}
]
]
}