Files
hyperframes/packages/parsers/tsup.config.ts
T
Miguel Angel Simon Sierra 053e1274b1 refactor(parsers): share local-asset resolution across lint and studio-server
Moves assetResolution.ts from packages/lint into @hyperframes/parsers behind
a ./asset-resolution subpath export, mirroring the ./ff-binaries shape, and
points lint's two importers at it. Pure move: no behavior change. Unblocks
studio-server consuming the same helpers without a dependency cycle (the CLI
already depends on lint, so importing lint from studio-server is not an option).
2026-07-16 19:16:43 -04:00

31 lines
873 B
TypeScript

import { defineConfig } from "tsup";
export default defineConfig({
entry: {
index: "src/index.ts",
gsapParserExports: "src/gsapParserExports.ts",
gsapParserAcorn: "src/gsapParserAcorn.ts",
gsapWriterAcorn: "src/gsapWriterAcorn.ts",
gsapConstants: "src/gsapConstants.ts",
springEase: "src/springEase.ts",
hfIds: "src/hfIds.ts",
gsapParser: "src/gsapParser.ts",
slideshow: "src/slideshow/index.ts",
assets: "src/assets.ts",
composition: "src/composition.ts",
compositionContract: "src/compositionContract.ts",
subCompositionValidity: "src/subCompositionValidity.ts",
ffBinaries: "src/ffBinaries.ts",
assetResolution: "src/assetResolution.ts",
},
format: ["esm"],
outDir: "dist",
target: "node22",
platform: "node",
bundle: true,
splitting: false,
sourcemap: true,
clean: true,
dts: true,
});