Is it normal for the final bundled .mjs file to include multiple imports from the same package? Here's what I'm seeing:
import { someFn } from 'package1'
// ... some core
import { someFn as someFn1 } from 'package1'
// ... some core
import { someFn as someFn2 } from 'package1'
Is this the normal behavior, or is there a way to have a single import at the top for the same someFn
from package1
?
Originally posted by @pedropmedina in https://github.com/egoist/tsup/discussions/812
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too