[bug]: Fails when trying to package binary imports #64
Labels
issue: bug
Issue reporting a bug
severity: medium
If it breaks the basic use of the product but can be worked around
What version of
@strapi/sdk-plugin
are you using?npm:
10.8.3
node:
^20
sdk:
5.2.7
browser: n/a
What's Wrong?
pack-up
viasdk-plugin
does not support binary imports like the one used in@ngrok/ngrok
. 'sdk-pluginprovides no way to add bundlers and negates the ability to use
packup.config.jsby using
disableConfig: falsewhen calling either
watchor
build`.To Reproduce
@ngrok/ngrok
which depends on an arch dependent dep with a.node
binarywatch
orbuild
will fail, as the tools only expect plaintext JSExpected Behaviour
Allow developers to use binaries by either:
pack-up
with extra bundlers.node
binaries by defaultThe text was updated successfully, but these errors were encountered: