mocha-vite-puppeteer
mocha-vite-puppeteer copied to clipboard
[Question] how to add vite plugin?
i have custom transformer a vite plugin, is there any way i can add this or configure?
Hey @btoaelbore , thank you for your question! I want to make sure I understand your need, before I reply, so a few follow-up questions
Is it an existing published Vite plugin, and if so, which one? Or is it a custom built Vite plugin, and if so, can you link to the source code? If none of these, can you explain what kind of transformation is being done by your plugin?
@larsthorup thanks for the response
some of the library/framework needs plugin in order to work with vite like solidjs and others, im thinking what about you can read the vite.config
then use this as the config?
Yeah, I see how extending Vite config could be a solution to this kind of issue. Do you have small sample repo (with SolidJS or something else) that demonstrates this issue, which I can use for testing out possible solutions?