fix: esm detection with export const { A, B }
pattern
#13483
Merged
export const { A, B }
pattern
#13483