Fix netlify-lambda build process due to webpack3 requirement
This commit is contained in:
parent
397f8281a0
commit
fe4b9e43e9
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
var webpack = require("webpack");
|
||||
// This is needed until netlify-lambda upgrades to webpack4
|
||||
var webpack = require("./node_modules/netlify-lambda/node_modules/webpack");
|
||||
|
||||
/* fix for https://medium.com/@danbruder/typeerror-require-is-not-a-function-webpack-faunadb-6e785858d23b */
|
||||
module.exports = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue