-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
feat: check modern build file in modern mode #4467
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #4467 +/- ##
==========================================
+ Coverage 91.35% 91.36% +0.01%
==========================================
Files 60 60
Lines 2105 2108 +3
Branches 506 508 +2
==========================================
+ Hits 1923 1926 +3
Misses 167 167
Partials 15 15
Continue to review full report at Codecov.
|
throw new Error( | ||
'No build files found. Use either `nuxt build` or `builder.build()` or start nuxt in development mode.' | ||
) | ||
} else if (this.context.options.modern && !this.context.resources.modernManifest) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we also include this check for isReady?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you mean change isReady to not only return boolean
I like this idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this PR is a hotfix, we can improve internals and do refactor for isReady
later
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Types of changes
Description
Checklist: