mirror of
https://github.com/diced/zipline.git
synced 2025-12-12 07:40:45 -08:00
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:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user