Posibility to only use for serve or build mode #77
Answered
by
sapphi-red
evilchis94
asked this question in
Q&A
-
Hey @sapphi-red, thanks for this amazing vite-plugin. I need to use the plugin only for serve mode. I've already tried the following with no luck
Do you know how I can achieve this? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
sapphi-red
Jan 24, 2024
Replies: 1 comment 1 reply
-
This plugin returns two plugins, one for serve mode and one for build mode. vite-plugin-static-copy/src/index.ts Lines 15 to 18 in 602627d You can filter out the plugin for build mode one. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
evilchis94
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This plugin returns two plugins, one for serve mode and one for build mode.
vite-plugin-static-copy/src/index.ts
Lines 15 to 18 in 602627d
You can filter out the plugin for build mode one.