Skip to content

Warning when importing module with rollup #443

Answered by enisdenjo
CameronNemo asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there, the bundled code you're referencing comes from the TypeScript compiler. The only option we have here is to use the importHelpers: true option for TSC; however, this would introduce an additional dependency of tslib and increase the bundle size completely unnecessarily - this is something I don't intent to do.

The warning is actually safe to ignore, but if you insist on removing it - you should use the context: "this" option with rollup.

Read more:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CameronNemo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information about the library is requested
2 participants
Converted from issue

This discussion was converted from issue #439 on February 01, 2023 14:00.