@vercel/backends 0.8.12 → 0.8.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -1
- package/dist/rolldown/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -204,7 +204,7 @@ const resolveEntrypointAndFormat = async (args) => {
|
|
|
204
204
|
if (extensionInfo.format === "auto") if (pkg.type === "module") resolvedFormat = "esm";
|
|
205
205
|
else resolvedFormat = "cjs";
|
|
206
206
|
}
|
|
207
|
-
if (!resolvedFormat)
|
|
207
|
+
if (!resolvedFormat) resolvedFormat = "esm";
|
|
208
208
|
return {
|
|
209
209
|
format: resolvedFormat,
|
|
210
210
|
extension: resolvedFormat === "esm" ? "mjs" : "cjs"
|
package/dist/rolldown/index.mjs
CHANGED
|
@@ -81,7 +81,7 @@ const resolveEntrypointAndFormat = async (args) => {
|
|
|
81
81
|
if (extensionInfo.format === "auto") if (pkg.type === "module") resolvedFormat = "esm";
|
|
82
82
|
else resolvedFormat = "cjs";
|
|
83
83
|
}
|
|
84
|
-
if (!resolvedFormat)
|
|
84
|
+
if (!resolvedFormat) resolvedFormat = "esm";
|
|
85
85
|
return {
|
|
86
86
|
format: resolvedFormat,
|
|
87
87
|
extension: resolvedFormat === "esm" ? "mjs" : "cjs"
|