Closed DamChtlv closed 6 months ago
I created this package primarily for use with SvelteKit, the config is pretty unspectacular.
import { sveltekit } from '@sveltejs/kit/vite';
import type { UserConfig } from 'vite';
const config: UserConfig = {
plugins: [sveltekit()],
};
export default config;
Also, I found some POCs for Svelte, Vue, and SolidJS on my computer. They only differ in the use of a different plugin. So no secret sauce involved, pretty basic.
The projects are fairly old, they still use Vite 3, but I've ran into some minor quirks with upgrading from Vite 4 to 5 in some other, unrelated problems. I will try and upgrade my apps and report back. Might take a while though!
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 14 days.
This issue was closed because it has been stalled for 14 days with no activity.
First of all, thanks for your work!
Question
It seems complete (except for the client not included when using just
vite
#15) Maybe it's related to the client or new version of vite (v5+) but i can't make it work... and maybe it's because of my WP setup or vite config so i'm wondering if that's the case. More infos about thevite.config.js
would be helpful :)Additionnal infos
My WP setup:
.wp-env.json
(@wordpress/env) which i can access atlocalhost:8888
(ex:localhost:8888/wp-login.php
)/src
and my build assets are generated in/dist
Here is a "minimalist" version of my
vite.config.js
: