Any project has its own way to deploy. You are free to use yours. Before deploying, you will need to run the following script:
npm run build
If you are also deploying on the cdn, you need to use:
npm run build
npm run cdn
After deploy, a build
folder there will be created with combined files. The while project gets a folder structre like this: