chore: withPayload CJS

This commit is contained in:
James
2024-04-10 12:01:16 -04:00
committed by Elliot DeNolf
parent 364e9832ac
commit 8b2cf4705e
4 changed files with 34 additions and 5 deletions

15
packages/next/.swcrc-cjs Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "https://json.schemastore.org/swcrc",
"sourceMaps": true,
"jsc": {
"target": "esnext",
"parser": {
"syntax": "typescript",
"tsx": true,
"dts": true,
},
},
"module": {
"type": "commonjs",
},
}