diff --git a/webpack.config.js b/webpack.config.js index 98505ee..4052385 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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 = {