mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-08-25 16:05:39 -04:00
revert node-fetch to 2.6.1
vercel is still compiling functions to commonjs no matter what I do.......?? Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/jake/source/jarv.is/node_modules/node-fetch/src/index.js from /Users/jake/source/jarv.is/api/hits.ts not supported.
This commit is contained in:
+3
-3
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"target": "es2020",
|
||||
"lib": [
|
||||
"esnext",
|
||||
"es2018"
|
||||
"es2020"
|
||||
],
|
||||
"module": "commonjs",
|
||||
"module": "es2020",
|
||||
"moduleResolution": "node",
|
||||
"importHelpers": true,
|
||||
"esModuleInterop": true,
|
||||
|
||||
Reference in New Issue
Block a user