Skip to content

Implicit dependency on vue-template-compiler #297

Closed
@pi0

Description

Version

v5.3.0

Reproduction link

nuxt/vercel-builder#42

Steps to reproduce

What is expected ?

What is actually happening?

Additional comments?

This module has an implicit dependency on vue-template-compiler here. All direct dependencies like this should be specified in dependencies section of package.json. When using nuxt-start (a serverless) build of nuxt, this dependency is not available.

It is also better to only require build related deps on build:before nuxt hook to prevent additional overhead when running in production mode.

This bug report is available on Nuxt community (#c237)

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