-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implicit dependency on vue-template-compiler
#297
Comments
This code that uses
This module uses So even when not actually using a hook (because |
@rchl yes, that totally makes sense. Thanks for the PR. |
@pi0 @paulgv I have just noticed a problem with this change. With nuxt@2.4.5 version at least, I see this error when trying to
It seems like versions of Given that |
@rchl we can come back to implicit dependency and either:
|
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 independencies
section of package.json. When usingnuxt-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.The text was updated successfully, but these errors were encountered: