-
I want to know which entrypoint is using current vite config, so I can change some options of vite config for a specific entrypoint. |
Beta Was this translation helpful? Give feedback.
Answered by
aiktb
Dec 6, 2024
Replies: 1 comment 1 reply
-
see this https://wxt.dev/api/reference/wxt/interfaces/WxtHooks.html#vite-build-extendconfig https://wxt.dev/api/reference/wxt/interfaces/WxtHooks.html#vite-devserver-extendconfig It seems that hook in dev mode can only add new vite config to all entrypoints |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
laizp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see this https://wxt.dev/api/reference/wxt/interfaces/WxtHooks.html#vite-build-extendconfig
https://wxt.dev/api/reference/wxt/interfaces/WxtHooks.html#vite-devserver-extendconfig
It seems that hook in dev mode can only add new vite config to all entrypoints