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've added a conditional import (await import('pixi-lights')) in my plugin, but then when I try to build it it says:
'Error: Invalid value for option "output.file" - when building multiple chunks, the "output.dir" option must be used, not "output.file". To inline dynamic imports, set the "inlineDynamicImports" option.'
Is there a good practice on adding optional imports?
The text was updated successfully, but these errors were encountered:
I've added a conditional import (
await import('pixi-lights')
) in my plugin, but then when I try to build it it says:'Error: Invalid value for option "output.file" - when building multiple chunks, the "output.dir" option must be used, not "output.file". To inline dynamic imports, set the "inlineDynamicImports" option.'
Is there a good practice on adding optional imports?
The text was updated successfully, but these errors were encountered: