security-checklist/next.config.js

12 lines
193 B
JavaScript
Raw Normal View History

2019-09-07 13:44:52 +00:00
module.exports = {
target: 'serverless',
webpack: config => {
// Fixes npm packages that depend on `fs` module
config.node = {
fs: 'empty',
};
return config;
},
};