You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue with ignored imports in BundlingMode.LibraryOnly.
When using the @JSImport("...") for everything, all is fine.
But this pattern of writing an annotated facade is a lot of boilerplate when requiring css files or one-off js depdencies. So, I would like to sometimes write this instead: js.`import`("...") or js.Dynamic.global.require("..."). Sadly, this only works in the default BundlingMode, but is not picked up in the entrypoints file from BundlingMode.LibraryOnly.
The text was updated successfully, but these errors were encountered:
I have an issue with ignored
imports
in BundlingMode.LibraryOnly.When using the
@JSImport("...")
for everything, all is fine.But this pattern of writing an annotated facade is a lot of boilerplate when requiring
css
files or one-offjs
depdencies. So, I would like to sometimes write this instead:js.`import`("...")
orjs.Dynamic.global.require("...")
. Sadly, this only works in the default BundlingMode, but is not picked up in the entrypoints file from BundlingMode.LibraryOnly.The text was updated successfully, but these errors were encountered: