Skip to content

Commit

Permalink
remove external
Browse files Browse the repository at this point in the history
  • Loading branch information
nitedani committed Aug 14, 2024
1 parent 5dc70d5 commit 7190daa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/vercel/src/build.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ResolvedConfig } from 'vite';
import glob from 'fast-glob';
import { builtinModules } from 'module';
import path, { basename } from 'path';
import { getOutput, getRoot, pathRelativeTo } from './utils';
import { build, BuildOptions, type Plugin } from 'esbuild';
Expand Down Expand Up @@ -157,10 +156,6 @@ export async function buildFn(

if (entry.edge) {
delete options.platform;
options.external = [
...builtinModules,
...builtinModules.map((m) => `node:${m}`),
];
options.conditions = [
'edge-light',
'worker',
Expand Down

0 comments on commit 7190daa

Please sign in to comment.