mirror of
https://github.com/brianlovin/security-checklist.git
synced 2026-03-11 08:55:31 +00:00
25 lines
482 B
JavaScript
25 lines
482 B
JavaScript
module.exports = {
|
|
target: 'serverless',
|
|
webpack: config => {
|
|
// Fixes npm packages that depend on `fs` module
|
|
config.node = {
|
|
fs: 'empty',
|
|
};
|
|
|
|
return config;
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: '/',
|
|
destination: 'https://brianlovin.com/security',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/about',
|
|
destination: 'https://brianlovin.com/security',
|
|
permanent: true,
|
|
},
|
|
]
|
|
},
|
|
};
|