mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 12:57:46 +00:00
[node] Fix ESM dependency support (#9692)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import isLeapYear from 'leap-year';
|
||||
|
||||
export default async function handler(req, res) {
|
||||
const data = { isLeapYear: isLeapYear() };
|
||||
res.status(200).json(data);
|
||||
}
|
||||
Reference in New Issue
Block a user