Skip to content

Commit

Permalink
Fix autoinstalling node builtins (#7735)
Browse files Browse the repository at this point in the history
Fixes #7697
  • Loading branch information
devongovett committed Feb 18, 2022
1 parent 5530a6e commit 6d250d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/node-resolver-core/src/NodeResolver.js
Expand Up @@ -313,7 +313,7 @@ export default class NodeResolver {
'https://parceljs.org/features/node-emulation/#polyfilling-%26-excluding-builtin-node-modules',
});

await packageManager.resolve(packageName, this.projectRoot + '/index', {
await packageManager.resolve(builtin, this.projectRoot + '/index', {
saveDev: true,
shouldAutoInstall: true,
});
Expand Down

0 comments on commit 6d250d7

Please sign in to comment.