-
Notifications
You must be signed in to change notification settings - Fork 7
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: Add option to exclude pages #3
base: master
Are you sure you want to change the base?
Conversation
@JosuaMeier hiya, another fellow plugin user here. Although adding it here would be nice, but i figured out the same result by using
|
@aporan Thx for your response. If I use the your Sorry, I am very new on the VuePress topic. (1 day) 🙈 |
Hi,
It's just an environment variable I'm defining in cli. You ca remove that
and use the first array. Ofcourse, depending on your use case, you've to
tweak the file types. Mine won't work directly.
The second array in the ternary operator is the default value vuepress
uses.
…On Wed, Jul 8, 2020, 8:08 PM Josua Meier ***@***.***> wrote:
@aporan <https://github.com/aporan> Thx for your response.
If I use the your pattern snippet, its not working. process.env.EXPORT_PDF
is undefined. Where do I have to provide this variable.
If it is as easy as you mentioned, I would surely prefer your solution.
Sorry, I am very new on the VuePress topic. (1 day) 🙈
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2IX32SUGWZXI7FRE3Q6JDR2ROURANCNFSM4OUIRUWA>
.
|
@aporan Yeah, works perfectly. No need for this pull request. Thank you. |
Hi, thanks for this contribution! |
FYI, I didn't really want to have to create an env. variable so i did this instead: patterns: process.argv.includes("export") ? ["**/api/**/*.md", '**/*.vue'] : ['**/*.md', '**/*.vue'] |
Would be nice to have the option to exclude pages from output file.