awslabs / amazon-quicksight-embedding-sdk

A SDK to help users embed QuickSight dashboards on other pages.
Apache License 2.0
172 stars 40 forks source link

CommonJS warning in console #184

Closed pacocsfs closed 3 months ago

pacocsfs commented 11 months ago

Hi,

I upgraded amazon-quicksight-embedding-sdk to 2.5.0 version. I’m getting a warning saying my component depends on this package. CommonJS dependencies can cause optimization bailouts. I followed the steps in the README file to set it up. I’m using import not require. My understanding is from version 2.4 you started offering ESM. Am I missing something? Is there a way to fix/remove this warning?

I’m using: Angular 17 Node 8.17.1

Thanks.

sonals-amazon commented 9 months ago

Can you please share what warning are you getting and also the code snippet where you are importing.

kuehnmic commented 3 months ago

We haven't heard back from you so we're going to close this now. If you are still facing the issue though, please reach out to us at our developer community.