Alias: blitz b
Create a production build of your Blitz app. It compiles your Blitz app
into Next.js runtime code inside .next
This is a super thin wrapper over Next CLI to improve environment variable loading.
It does the following:
.env.production
.process.env.APP_ENV
to production
next build
commandOption | Shorthand | Description | Default |
---|---|---|---|
--inspect | Enable the Node.js inspector | false |
blitz build