Image finally builds. Not perfect though

This commit is contained in:
2026-03-20 19:46:30 -05:00
parent 60dc57ddf7
commit 0ecf6238de
6 changed files with 7 additions and 8 deletions

View File

@@ -18,8 +18,8 @@ out
.git
.gitignore
*.log
.env
.env.*
#.env
#.env.*
!.env.example
.vscode
.idea

View File

@@ -1,7 +1,7 @@
import { withSentryConfig } from '@sentry/nextjs';
import { withPlausibleProxy } from 'next-plausible';
import { env } from './src/env.js';
import { env } from '@/env';
/** @type {import("next").NextConfig} */
const config = withPlausibleProxy({

View File

@@ -4,7 +4,8 @@
"type": "module",
"private": true,
"scripts": {
"build": "bun with-env next build",
"build": "bun next build",
"build:env": "bun with-env next build",
"clean": "git clean -xdf .cache .next .turbo node_modules",
"dev": "bun with-env next dev --turbo",
"dev:tunnel": "bun with-env next dev --turbo",

View File

@@ -1,6 +1,5 @@
import { createEnv } from '@t3-oss/env-nextjs';
import { z } from 'zod/v4';
import { process } from 'zod/v4/core';
export const env = createEnv({
shared: {
@@ -36,7 +35,6 @@ export const env = createEnv({
experimental__runtimeEnv: {
NODE_ENV: process.env.NODE_ENV,
CI: process.env.CI,
SENTRY_AUTH_TOKEN: process.env.SENTRY_AUTH_TOKEN,
NEXT_PUBLIC_SITE_URL: process.env.NEXT_PUBLIC_SITE_URL,
NEXT_PUBLIC_CONVEX_URL: process.env.NEXT_PUBLIC_CONVEX_URL,
NEXT_PUBLIC_PLAUSIBLE_URL: process.env.NEXT_PUBLIC_PLAUSIBLE_URL,

View File

@@ -1,7 +1,7 @@
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
import * as Sentry from '@sentry/nextjs';
import { env } from './env.js';
import { env } from '@/env';
Sentry.init({
dsn: env.NEXT_PUBLIC_SENTRY_DSN,

View File

@@ -1,6 +1,6 @@
import * as Sentry from '@sentry/nextjs';
import { env } from './env.js';
import { env } from '@/env';
Sentry.init({
dsn: env.NEXT_PUBLIC_SENTRY_DSN,