Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] how to add vite plugin? #29

Open
btoaelbore opened this issue Dec 17, 2021 · 3 comments
Open

[Question] how to add vite plugin? #29

btoaelbore opened this issue Dec 17, 2021 · 3 comments
Labels
question Further information is requested

Comments

@btoaelbore
Copy link

btoaelbore commented Dec 17, 2021

i have custom transformer a vite plugin, is there any way i can add this or configure?

@larsthorup
Copy link
Owner

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 larsthorup added the question Further information is requested label Dec 19, 2021
@btoaelbore
Copy link
Author

@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?

@larsthorup
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants