Mars2024
Mars2024

Reputation: 394

Firebase Hosting Setup - "Set up the workflow to run a build script before every deploy? (y/n)

What exactly does this mean for Firebase Hosting Setup in CLI to "run a build script before every deploy?"

Context: I'm using Firebase to host an Ionic PWA app, and I'm curious of the pros and cons of using Firebase vs other providers. Thanks,

Upvotes: 10

Views: 11991

Answers (1)

Kurt
Kurt

Reputation: 306

It simply means that before deploying, should a specific script be run? For example, you may need to run a command to build some sources. In React.js, you would need to build before deploying, so the command to enter would be:

npm run build

Upvotes: 17

Related Questions