Skip to content

Commit

Permalink
refactor(bundle-source): Remove vestigial internal dev option (#2433)
Browse files Browse the repository at this point in the history
This removes dead code. The bundler uses the `dev` flag only for
discovery of `devDependencies` in `mapNodeModules`, and makes no further
use of it in the bundling kit.
  • Loading branch information
kriskowal authored Aug 27, 2024
2 parents 35636d9 + eda1a97 commit 0517f2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/bundle-source/src/endo.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const textDecoder = new TextDecoder();

export const makeBundlingKit = (
{ pathResolve, userInfo, computeSha512, platform, env },
{ cacheSourceMaps, elideComments, noTransforms, commonDependencies, dev },
{ cacheSourceMaps, elideComments, noTransforms, commonDependencies },
) => {
if (noTransforms && elideComments) {
throw new Error(
Expand Down
1 change: 0 additions & 1 deletion packages/bundle-source/src/zip-base64.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export async function bundleZipBase64(
noTransforms,
elideComments,
commonDependencies,
dev,
},
);

Expand Down

0 comments on commit 0517f2c

Please sign in to comment.