Skip to content

@nestjs/terminus module cannot be bundled #285

@azaelvaldo

Description

@azaelvaldo

When I am building a bundled Webpack from my NestJS application, I get this error:

ERROR in ./node_modules/@nestjs/terminus/dist/utils/checkPackage.util.js.map 1:10
Module parse failed: Unexpected token (1:10)

I am not using any feature from HealthCheck included by default in the module. Is it possible to create a module without the HealthCheck module that uses terminus?

Related error and not solved: nestjs/terminus#1423

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