dagger-rs/crates/dagger-sdk/examples/build-the-application/app/README.md

18 lines
375 B
Markdown
Raw Permalink Normal View History

2023-02-17 15:47:12 +01:00
# React Build
This is based on the [Getting Started guide for Nodejs](https://docs.dagger.io/sdk/nodejs/783645/get-started#step-5-test-against-multiple-nodejs-versions)
A simple react app is created with `create-react-app` which is built and tested by `build.js` or `build.ts`.
Run:
`npm install`
and then:
`node --loader ts-node/esm ./build.ts`
or
`node ./build.js`