Upgrade netlify-lambda to 1.0.2

This commit is contained in:
Lambros Petrou 2018-10-12 20:11:35 +01:00
parent 6268e75b16
commit 0684e2df74
3 changed files with 171 additions and 1249 deletions

1415
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -24,7 +24,7 @@
"devDependencies": {
"http-proxy-middleware": "^0.19.0",
"markdown-magic": "^0.1.23",
"netlify-lambda": "^0.4.0",
"netlify-lambda": "^1.0.2",
"npm-run-all": "^4.1.3"
},
"browserslist": [

View file

@ -1,5 +1,4 @@
// This is needed until netlify-lambda upgrades to webpack4
var webpack = require("./node_modules/netlify-lambda/node_modules/webpack");
var webpack = require("webpack");
/* fix for https://medium.com/@danbruder/typeerror-require-is-not-a-function-webpack-faunadb-6e785858d23b */
module.exports = {