Reputation: 394
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
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