vite: Add plugin for Vite
See original GitHub issueHello 👋
This project seems very promising! Do you have plan to support Vite with a custom plugin?
Documentation: https://vitejs.dev/guide/api-plugin.html
vanilla-extract plugin (for reference): https://github.com/seek-oss/vanilla-extract/tree/master/packages/vite-plugin
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Using Plugins - Vite
Vite can be extended using plugins, which are based on Rollup's well-designed plugin interface with a few extra Vite-specific options. This means that...
Read more >Adding a plugin to vite - vue.js - Stack Overflow
In reading Vite doc's I see you add plugins via the vite.config.js file instead of using Vue.use() in main.js. So I created one...
Read more >Building a plugin with Vite | Vue Mastery
A Vite plugin is a Rollup plugin with some options and hooks specific to Vite that lets you add custom functionality on top...
Read more >Make Your First Vite Plugin - JavaScript in Plain English
Vite is an incredible build tool for modern web projects. Besides basic configuration, Vite also lets us do more things with third-party plugins....
Read more >@vitejs/plugin-vue - npm
0+, @vue/compiler-sfc is no longer required as a peer dependency. // vite.config.js import vue from '@vitejs/plugin-vue' ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

There is some work in Linaria that could help with that, https://github.com/callstack/linaria/pull/1001. Looking forward to it 🐱
I will check when I have some time 🙂