tsci build
tsci build runs the TSCircuit evaluator and writes circuit.json files.
Usage
tsci build [file] [--ignore-errors] [--ignore-warnings]
Arguments
file(optional) – path to a.tsxfile to build. If omitted, the command searches for a project entrypoint such asindex.tsxor themainEntrypointdefined intscircuit.config.json. In addition, all files matching the*.circuit.tsxpattern are built automatically.
Output
Output files are placed in a dist/ directory relative to your project. The main entrypoint produces dist/circuit.json. Each *.circuit.tsx file generates its own subdirectory. For example, src/blink.circuit.tsx becomes dist/src/blink/circuit.json.
Options
--ignore-errors– do not exit with code1on evaluation errors.--ignore-warnings– suppress warning messages.
Use this command before publishing or in CI to ensure your circuits evaluate correctly.