Skip to content

I got TS error, but nuxt is not breaking the build #593

@buglavecz

Description

@buglavecz

Describe the bug
We want use nuxt 2 with typescript support, but I don't understand why don't break the build, if the TS code is bad?

Screenshots
image

Additional context
I tried add the --fail-on-error flag to package.json, but not working.... 🤔

"scripts": {
    "dev": "cross-env BUILD_VER=dev-local.0123456 COMMIT_HASH=0123456 nuxt --fail-on-error",

Thanks.

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