Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/adapter-vercel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ const plugin = function (defaults = {}) {
target: 'es2020', // TODO verify what the edge runtime supports
bundle: true,
platform: 'browser',
conditions: [
'edge-light',
'module' // Matching behavior of esbuild without custom conditions
],
format: 'esm',
external: [
...compatible_node_modules,
Expand Down
Loading