这是indexloc提供的服务,不要输入任何密码
Skip to content

Silently fails to build #106

@talentlessguy

Description

@talentlessguy

The problem

Hello, I was trying to transfer my lib from using Rollup to Tsup, but it fails silently, both for ESM and CJS, with no any errors in stderr.

Command:

tsup src/index.ts --format cjs,esm --dts

Result:

image

Reproduction repository: https://github.com/talentlessguy/parsec

note that it builds fine with rollup + rollup-plugin-typescript2

Solution

Catch all errors and output them in the stderr

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions