chore(web): quiet workspace build warnings
This commit is contained in:
parent
02f8193b5f
commit
d56ccdec8c
@ -115,6 +115,7 @@ Stack: Next.js 16 + React 19 + TypeScript
|
|||||||
- `npm test`
|
- `npm test`
|
||||||
- `npm run typecheck`
|
- `npm run typecheck`
|
||||||
- `npm run build`
|
- `npm run build`
|
||||||
|
- Hardened Next.js build config by setting `outputFileTracingRoot`, removing the repeated workspace-root warning during `web` production builds
|
||||||
|
|
||||||
# Open Questions
|
# Open Questions
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
import path from "node:path";
|
||||||
import type { NextConfig } from "next";
|
import type { NextConfig } from "next";
|
||||||
|
|
||||||
const securityHeaders = [
|
const securityHeaders = [
|
||||||
@ -20,6 +21,7 @@ const securityHeaders = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
|
outputFileTracingRoot: path.join(process.cwd(), ".."),
|
||||||
async headers() {
|
async headers() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user