codesandbox-importers icon indicating copy to clipboard operation
codesandbox-importers copied to clipboard

Is it possible to specify external dependencies using the Define API

Open kristiansorens opened this issue 5 years ago • 1 comments

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?

kristiansorens avatar Mar 15 '19 20:03 kristiansorens

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 😄.

CompuIves avatar Apr 08 '19 13:04 CompuIves