$npx harbor upgrade 42 files updated · 1 to review
harbor.config.ts
+0−0
import { defineConfig } from "harbor/config";
import tailwind from "@harbor/tailwind";
import { sentry } from "@harbor/sentry";
export default defineConfig({
name: "field-and-fold",
target: "node16",
experimental: {
edge: true,
turboBuild: true,
},
images: {
domains: ["images.unsplash.com", "cdn.fieldandfold.co"],
},
plugins: [
tailwind(),
sentry({ dsn: process.env.SENTRY_DSN }),
],
headers: async () => [
{ source: "/(.*)", headers: [{ key: "X-Frame-Options", value: "DENY" }] },
],
legacyBrowsers: true,
});1import { defineConfig } from "harbor/config";import { defineConfig } from "harbor/config";
import { defineConfig } from "harbor";
2import tailwind from "@harbor/tailwind";
3import { sentry } from "@harbor/sentry";
4
5export default defineConfig({
6 name: "field-and-fold",
7 target: "node16", target: "node16",
8 experimental: { experimental: {
9 edge: true, edge: true,
10 turboBuild: true, turboBuild: true,
11 }, },
target: "node20",
runtime: "edge",
12 images: {
13 domains: ["images.unsplash.com", "cdn.fieldandfold.co"], domains: ["images.unsplash.com", "cdn.fieldandfold.co"],
remotePatterns: [
{ hostname: "images.unsplash.com" },
{ hostname: "cdn.fieldandfold.co" },
],
14 },
15 plugins: [
16 tailwind(),
17 sentry({ dsn: process.env.SENTRY_DSN }),
18 ],
19 headers: async () => [
20 { source: "/(.*)", headers: [{ key: "X-Frame-Options", value: "DENY" }] },
21 ],
22 legacyBrowsers: true, legacyBrowsers: true,
23});