Skip to content

Commit

Permalink
Merge pull request #1494 from didi/fix-resolver-plugin-path
Browse files Browse the repository at this point in the history
fix: resolve plugin packageEntryPlugin 循环resolve问题
  • Loading branch information
hiyuki authored May 29, 2024
2 parents 5a8b6ac + 4ce7989 commit 432a279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webpack-plugin/lib/resolver/PackageEntryPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = class PackageEntryPlugin {
relativePath: './' + toPosix(relativePath),
miniprogram: true
})

if (obj.path === resourcePath) return callback()
resolver.doResolve(target, obj, 'add miniprogram dist: ' + miniprogram, resolveContext, callback)
})
}
Expand Down

0 comments on commit 432a279

Please sign in to comment.