How to get configured paths in a nitro plugin?

Hey. I need to copy some files around, so need to get the location of modules, public, etc. How do I do this in a nitro plugin?
export default defineNitroPlugin((nitroApp: NitroApp) => {
const public = ...
const modules = ...
})
export default defineNitroPlugin((nitroApp: NitroApp) => {
const public = ...
const modules = ...
})
Thanks
1 Reply
davestewart
davestewartOP2y ago
Discord
Discord - A New Way to Chat with Friends & Communities
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.

Did you find this page helpful?