netlify-faunadb-example/webpack.config.js
2018-06-11 16:35:43 -07:00

11 lines
275 B
JavaScript

var webpack = require("webpack");
/* fix for https://medium.com/@danbruder/typeerror-require-is-not-a-function-webpack-faunadb-6e785858d23b */
module.exports = {
plugins: [
new webpack.DefinePlugin({ "global.GENTLY": false })
],
node: {
__dirname: true,
}
}