Skip to content
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

config.file #1

Closed
michael-ciniawsky opened this issue Nov 15, 2016 · 0 comments
Closed

config.file #1

michael-ciniawsky opened this issue Nov 15, 2016 · 0 comments

Comments

@michael-ciniawsky
Copy link
Member

michael-ciniawsky commented Nov 15, 2016

Expose posthtml.config.js filepath to enable watching the config file across various build tools.

posthtmlrc(ctx, ctx.dir).then((config) => {
   console.log(config.file) // => absolute/path/to/posthtml.config.js
})
@michael-ciniawsky michael-ciniawsky changed the title expose config.file config.file Nov 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant