Files
frontend/packages/rsone/tsup.config.ts
rsone001 d9d5b49057 st: refactor:
- Real Grid 컴포넌트 @rsone/components 로 모듈화
- 컴포넌트 동적 import 경로 수정(engName -> urlPath)
2026-01-09 10:21:00 +09:00

17 lines
480 B
TypeScript

import path from "path";
import { defineConfig } from "tsup";
export default defineConfig((options) => ({
entry: ["components/index.ts"],
splitting: true,
treeshake: true,
clean: true,
dts: true,
format: ["esm"],
external: ["react", "react-dom", "realgrid", "realgrid-react"],
platform: "browser",
target: ["es2020"],
tsconfig: path.resolve(__dirname, "tsconfig.build.json"),
sourcemap: !options.watch,
minify: !options.watch,
}));