codesandbox-importers
codesandbox-importers copied to clipboard
Is it possible to specify external dependencies using the Define API
I can see it is possible to add node module dependencies, but is it also possible to add external (non-npm) dependencies when creating sandboxes dynamically via the API?
Yes, that should be possible if you put the dependencies directly in the sandbox. So you would have a node_modules
folder in the sandbox with the dependency in there 😄.