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?
Is it normal for the final bundled .mjs file to include multiple imports from the same package? Here's what I'm seeing:
Is this the normal behavior, or is there a way to have a single import at the top for the same
someFn
frompackage1
?Originally posted by @pedropmedina in https://github.com/egoist/tsup/discussions/812
Upvote & Fund