feat: remove next.js in favor of client-side only (#857)

* feat: start removing next.js

* feat: working ssr + dev + prod env

* feat: all functionality added + client/ -> src/client/

* fix: build process

* fix: caching on pnpm action

* fix: ignores + cache action

* fix: docker + exdev error

* fix: generate prisma before types

* fix: remove node@20 from actions

* feat: dynamic import optimizations + titled pages

* fix: removed unused vars

* feat: small ui fixes and improvements

* feat: small ui improvements

* fix: linting error

* fix: regex when adding domains
This commit is contained in:
dicedtomato
2025-08-14 12:13:54 -07:00
committed by GitHub
parent 71dbbb584a
commit ae7b4dacf1
190 changed files with 4035 additions and 3707 deletions

View File

@@ -1,18 +1,21 @@
import glob from 'fast-glob';
import { defineConfig } from 'tsup';
import { replaceTscAliasPaths } from 'tsc-alias';
import { copyFile, mkdir } from 'fs/promises';
import { replaceTscAliasPaths } from 'tsc-alias';
import { defineConfig } from 'tsup';
export default defineConfig(async (_) => {
return [
{
platform: 'node',
format: 'cjs',
outExtension: () => ({ js: '.js' }),
clean: true,
sourcemap: true,
entry: await glob('./src/**/*.ts', {
ignore: ['./src/components/**/*.ts', './src/pages/**/*.ts'],
ignore: ['./src/components/**/*.ts', './src/client/**/*.(ts|tsx|html)'],
}),
shims: true,
esbuildPlugins: [],
outDir: 'build',
bundle: false,
onSuccess: async () => {