We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
config.build.current
config.build.current holds some path information about the template currently being processed, for example:
{ path: { root: 'build_production', dir: 'build_production', base: 'transactional.html', ext: '.html', name: 'transactional' } }
It would be useful to have types for this, for example when using config.build.current inside an event, for autocomplete:
export default { async afterTransformers({config}) { const template = config.build.current. // editor would suggest `name` here }, }
The text was updated successfully, but these errors were encountered:
build.current
Successfully merging a pull request may close this issue.
config.build.current
holds some path information about the template currently being processed, for example:It would be useful to have types for this, for example when using
config.build.current
inside an event, for autocomplete:The text was updated successfully, but these errors were encountered: