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

Custom tsconfig isn't working #893

@ComLock

Description

@ComLock

I've tried --tsconfig on the cmdline, tsconfig and esbuildOptions(options) options.tsconfig in the tsup.config.ts file, nothing works.

In your test if I add

"target": "es5"

to compilerOptions, and

'--format','cjs',

it should fail with

✘ [ERROR] Transforming const to the configured target environment ("es5") is not supported yet

But it doesn't.

So I think the test is too simple and doesn't actually test that the custom tsconfig file is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions