-
-
Notifications
You must be signed in to change notification settings - Fork 545
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
fix: update default view engine from jade to pug #328
base: master
Are you sure you want to change the base?
Conversation
@UlisesGascon @IamLizu The checks are failing. I require some assistance on how to fix this... |
It seems like
|
So what is the next step? Do I need to make any changes? |
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.
we can include this change in the next major release or upgrade to a version of pug that remains compatible with the Node.js versions we currently support.
I think you should do the latter.
@@ -467,7 +467,7 @@ function main (options, done) { | |||
if (options.view === true) { | |||
warning('the default view engine will not be jade in future releases\n' + |
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.
Unnecessary warning if jage
is no longer the default.
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.
Should I remove this warning completely?
' "jade": "~1.11.0",\n' + | ||
// replace default jade with pug | ||
// ' "jade": "~1.11.0",\n' + | ||
' "pug": "~3.0.3",\n' + |
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.
Incompatible version of pug
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.
Why is the latest version of pug
incompatible? Which version should it be instead?
fixes #327