shopware / admin-extension-sdk

The Admin Extension SDK can be used by Shopware 6 apps and plugins. This library allows them to extend the administration with custom functionality.
https://developer.shopware.com/resources/admin-extension-sdk/
46 stars 13 forks source link

Should not import the named export #89

Closed runelaenen closed 9 months ago

runelaenen commented 1 year ago

When compiling my project, which has the admin-extension-sdk as dependency, webpack gives the following warning:

1WARN  Compiled with 1 warnings12:29:04 PM

warn  in ./node_modules/@shopware-ag/admin-extension-sdk/es/_internals/sdkVersion.js12:29:04 PM

Should not import the named export 'version' (imported as 'version') from default-exporting module (only default export is available soon)

SDK Version: 3.0.14 Used versions:

seggewiss commented 1 year ago

This is just a warning right? The project still compiles?

runelaenen commented 1 year ago

Yes, only a warning for now. The (only default export is available soon) scared me a bit :D

seggewiss commented 9 months ago

I just created a regular ticket in Jira for this. Please track the progress here. Thanks again for reporting 😊