mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
1. Make sure that the conditions are converted into arrays when being passed into user hooks. 2. Pass the conditions from user hooks into the ESM resolution so that it takes effect. PR-URL: https://github.com/nodejs/node/pull/59011 Fixes: https://github.com/nodejs/node/issues/59003 Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Jacob Smith <jacob@frende.me>
3 lines
34 B
JavaScript
3 lines
34 B
JavaScript
export const result = 'foo-esm';
|
|
|