Skip to content

Commit

Permalink
Merge branch 'pr/segevfiner/33'
Browse files Browse the repository at this point in the history
  • Loading branch information
Septh committed Dec 15, 2024
2 parents 1de5c7a + be98d35 commit 39986b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@ function nodeExternals(options: ExternalsOptions = {}): Plugin {
},

resolveId: {
order: 'pre',
async handler(specifier, _, { isEntry }) {
async handler(specifier, importer, { isEntry }) {
if (
isEntry // Ignore entry points
|| /^(?:\0|\.{1,2}\/)/.test(specifier) // Ignore virtual modules and relative imports
Expand Down

0 comments on commit 39986b1

Please sign in to comment.