feat: Add old-school export option for Netlify

This commit is contained in:
Alicia Sykes 2024-06-18 22:07:27 +01:00
parent a6bc8d790e
commit ba8880cff7

View File

@ -124,4 +124,8 @@ const commonMiddleware = (handler) => {
return nativeMode ? vercelHandler : netlifyHandler;
};
if (PLATFORM === 'NETLIFY') {
module.exports = commonMiddleware;
}
export default commonMiddleware;