Skip to content

How to silent any error from ts-loader? #1648

Open

Description

@aspirisen

Hi, how to ignore all errors from ts-loader. I am using ts-loader just as a ts transformer for https://typia.io/
I can't disable type check because type information is needed for typia.
I perform type check with ForkTsCheckerWebpackPlugin so type errors logs from the loader are not needed.
Also, nextjs just stops building on ts error at all, what is strange.

I tried silent: true and reportFiles: ['!**/*.{ts,tsx}'] and it didn't help.

Thanks.

Activity

  1. johnnyreilly commented on Mar 27, 2024

    @johnnyreilly
    Member

    Does transpileOnly help?

  2. aspirisen commented on Mar 27, 2024

    @aspirisen
    Author

    @johnnyreilly I can't disable type checker because typia needs it.

    I have separate files *.typia.ts and ts-loader applied only to these files. I do not need type checking, transpilation etc. from ts-loader, only transform but with type information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions