Skip to content

Commit

Permalink
refactor: remove unused source map port
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Nov 24, 2023
1 parent fb59907 commit 737dee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esm/loaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const globalPreload: GlobalPreloadHook = ({ port }) => {

return `
const require = getBuiltin('module').createRequire("${import.meta.url}");
require('tsx/source-map').installSourceMapSupport(port);
require('tsx/source-map').installSourceMapSupport();
if (process.send) {
port.addListener('message', (message) => {
if (message.type === 'dependency') {
Expand Down

0 comments on commit 737dee5

Please sign in to comment.