Open
Description
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
via sdk-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
- Create a new plugin with server features
- Install
@ngrok/ngrok
which depends on an arch dependent dep with a.node
binary - Import this into a server file
- Running either
watch
orbuild
will fail, as the tools only expect plaintext JS
Expected Behaviour
Allow developers to use binaries by either:
- Provide the ability to extend
pack-up
with extra bundlers - Include the ability to import
.node
binaries by default