Verify latest release
pnpm version
10.24.0
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
// .pnpmfile.cjs
module.exports = {
hooks: {
updateConfig(config) {
return Object.assign(config, {
allowBuilds: {
'core-js': false
}
});
}
}
};
Describe the Bug
allowBuilds: {...} not work when it config by .pnpmfile.cjs
Expected Behavior
allowBuilds: {...} should work in .pnpmfile.cjs
Which Node.js version are you using?
24.0.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
Verify latest release
pnpm version
10.24.0
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
Describe the Bug
allowBuilds: {...}not work when it config by.pnpmfile.cjsExpected Behavior
allowBuilds: {...}should work in.pnpmfile.cjsWhich Node.js version are you using?
24.0.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response