-
I have a few custom extensions which I wish to escape routing. I see this is probably what I need: feat: support specifying custom extensions to escape routing #3466. Is there an easy & reliable way to add some extra extensions which works on all platforms? VITE_EXTRA_EXTENSIONS isn't working for me on Cloudflare Pages (which doesn't seem to honour the .env file nor use Setting > Environment Variables > VITE_EXTRA_EXTENSIONS ). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
you can just do |
Beta Was this translation helpful? Give feedback.
-
Yes. This was the first thing I tried. But it seems to work very unreliably
when I navigate rather than hitting the page directly.
…On Tue, 13 Feb 2024, 22:37 Divyansh Singh, ***@***.***> wrote:
you can just do process.env.VITE_EXTRA_EXTENSIONS = 'foo,bar' on top of
your vitepress config file
—
Reply to this email directly, view it on GitHub
<#3571 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHC7WFTQWIZWYVJD3O7YSHLYTMX4FAVCNFSM6AAAAABDGFHIC2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DINJRGQ4TS>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
you can just do
process.env.VITE_EXTRA_EXTENSIONS = 'foo,bar'
on top of your vitepress config file