mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
* Convert packages/init-stack to TypeScript and configure tsup for bundling Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com> * Address PR feedback: remove esbuildPlugins, remove index.mjs, update pnpm-lock.yaml Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com> * Add ESLint configuration to init-stack package Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com> * Remove unnecessary no-restricted-syntax rule from init-stack ESLint config Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com> * Add lint script to init-stack package.json Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com> * Remove parserOptions from init-stack ESLint config and add typecheck script Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
16 lines
280 B
TypeScript
16 lines
280 B
TypeScript
import { defineConfig, Options } from 'tsup';
|
|
|
|
const config: Options = {
|
|
entryPoints: ['src/index.ts'],
|
|
sourcemap: true,
|
|
clean: false,
|
|
dts: true,
|
|
outDir: 'dist',
|
|
format: ['esm'],
|
|
banner: {
|
|
js: '#!/usr/bin/env node',
|
|
},
|
|
};
|
|
|
|
export default defineConfig(config);
|