You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click to open the extension management interface Configure Extension Settings, You can change the path of the project compilation directory, or toggle the switch of language.
Exactly there, in the config, is the option I want, missing. I added more info to my question.
BananaAcid
changed the title
change pug extension
change generated Pug file extension from .html to .tpl or something else
Apr 5, 2020
BananaAcid
changed the title
change generated Pug file extension from .html to .tpl or something else
settings option to change generated Pug file extension from .html to .tpl or something else
Apr 21, 2020
Unfortunately, compiling a pug file always becomes
file.html
I need it to become
file.tpl
and in another project:file.php
(that is because the pug contains php and ideally needs the correct file ext)Would be great to have this option (changing the extension).
https://github.com/Wscats/compile-hero/blob/master/vscode-extension/src/extension.ts#L183
Like using: https://github.com/pugjs/pug-cli
option:
-E, --extension <ext> specify the output file extension
The text was updated successfully, but these errors were encountered: