codesandbox/sandpack

ts-node template

Closed this issue · 2 comments

Tell us how you think we can improve Sandpack

Really love Sandpack. I think for folks who want to have a quick server-side typescript playground, a sandbox template for ts-node would be amazing in addition to the vanilla js node one. I tried getting around this by instantiating a node template and custom package.json using ts-node in the start script but this didn't work unfortunately

What is this feature?

ts-node sandbox template

Would look something like

<SandpackProvider
      key="server"
      theme={(theme as "light" | "dark") || "dark"}
      template="ts-node"

Hey, thank you for your suggestion. However, Sandpack currently does not aim to support such a template due to technical limitations and limited internal resources.

Thank you once again for showing your interesting.