0

Is it possible to create a build of a react app created with the codesandbox template by running npm run build on codesandbox itself?

In short is it possible to run npm scripts on codesandbox

If yes, how?

Rahul Yadav
  • 2,627
  • 5
  • 30
  • 52

1 Answers1

2

Yes, you need to use a container sandbox like Node that exposes a terminal. There's more info on the difference between container and client sandboxes in our docs: https://codesandbox.io/docs/environment

Gareth
  • 117
  • 4