-
### Describe the bug
When using a library that contains Svelte components a module can get initialized twice. This happens only when running Vite in development mode.
The bug occurs when you have:…
-
**Is your feature request related to a problem? Please describe.**
I am trying to make a PWA plugin for Vite while I need to inject some tags into `index.html`. However, the `transforms` api does not…
antfu updated
3 years ago
-
Hey!
I've been working on a file explorer app for some time now and wanted to make the preview components of files pluggable. So I could easily add new preview windows for file types. I was wonder…
-
### Describe the bug
Added react-chat-widget as dependency.
error during prebundling:
Could not resolve "ReactDOM" (mark it as external to exclude it from the bundle, or surround it with tr…
-
```
[legacy-post-process] unknown: Unknown property: Ll
error during build:
Error: unknown: Unknown property: Ll
at matchProperty (/frontend/node_modules/@babel/standalone/babel.js:66815:11)
…
-
I would like to be able to return a string (unsafe) from a server render without having to sanitize with the `html` export, perhaps this could be an opt-in config option?
-
### Describe the bug
Upgrading to either 2.4.0 or 2.4.1 causes vite to stop finding sass. 2.3.8 is fine. My App.vue uses scss style import.
Check out reproduction link. main branch has 2.3.8 wor…
-
Thanks for this plugin. I'm using this plugin with react. When I build the app the generated index.html file is missing registerSW.js as a script.
vite.config.js
```
import { defineConfig } from…
-
### Describe the bug
I get this weird error (see Logs) when using/previewing the build. This happens when I build with version **2.3.3** of Vite. This didn't happen with version **2.3.0**.
### R…
-
### Describe the bug
When I run `npm run dev` to run Vite, I always get the error:
> `SyntaxError: Cannot use import statement outside a module` when loading `vite.config.js`.
### Reproduction
I…