-
Hi, I would like to import I guess it's a trivial question, but I can't figure how to do it. Could you help me ? |
Beta Was this translation helpful? Give feedback.
Answered by
brc-dd
Sep 29, 2022
Replies: 1 comment
-
Something like this should work fine for you: // some/script.ts
import { type SiteConfig } from 'vitepress'
export const buildEnd = ({ outDir } : SiteConfig) => {
// ...
} // .vitepress/config.ts
import { buildEnd } from 'path/to/some/script.js'
export default {
// ...
buildEnd
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Zogsha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Something like this should work fine for you: