blog/frontend/next.config.ts
SquidSpirit 35af8fd090
All checks were successful
Frontend CI / build (push) Successful in 1m27s
BLOG-9 Automatical deployment (#33)
### Description

- Create a Dockerfile to build the docker image.
- Set up the workflow to run deployment, which is to build and upload image to remote registry.
- Add a head meta html tag to show the version.

### Package Changes

_No response_

### Screenshots

_No response_

### Reference

Resolves #9

### Checklist

- [x] A milestone is set
- [x] The related issuse has been linked to this branch

Reviewed-on: #33
Reviewed-by: zoe <zoe@noreply.localhost>
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-01-25 00:03:55 +08:00

14 lines
272 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// Avoid from rendering twice in development mode
reactStrictMode: false,
output: "standalone",
env: {
APP_VERSION: process.env.npm_package_version,
},
};
export default nextConfig;