How to build a frontend canister without using `dfx build`?

How to build and deploy a frontend canister without using dfx build/dfx deploy? (I want to build a frontend canister without prior building of its dependencies.)

  1. put dependency canister ids in the right env vars or in .env
  2. dfx generate or similar if required
  3. npm run build
  4. icx-asset sync to upload the files

But since this change it’s probably easier to just not declare the dependencies…

1 Like