vite
vite copied to clipboard
Next generation frontend tooling. It's fast!
### Description Support preloading also on legacy bundle. A test case is included for a utility function I'm using. closes #9902 and even more (since it's also preload JS scripts)...
### Describe the bug When a prop is added to a child component, if the parent was previously passing that prop through as a fallthrough attribute and defining it as...
### Clear and concise description of the problem CSS sourcemaps aren't currently supported, which can make it difficult to track down where a particular style was authored. It would be...
### Describe the bug Hi! I have many assets like svg and their [content] is the same. After vite build, I only got two svg. The rest have been merged...
### Description - [x] `assetsInlineLimit` can now accept a callback for opting into inlining on a case by case basis. - [x] Passes the `filePath: string`, `contentSize: number` and currently...
### Description 支持module,但是不支持 catch optional的低版本浏览器会导致程序不能正常运行 在浏览器判断处新增catch optional场景 ### Additional context --- ### What is the purpose of this pull request? - [x] Bug fix - [ ] New Feature -...
### Description dynamic import support `?url` and `?worker` feat test glob import for worker ### Additional context --- ### What is the purpose of this pull request? - [ ]...
### Description The `define` and `client-inject` plugins indiscriminately replace strings within string literals, which can create invalid JavaScript syntax (e.g., `console.log("mode is process.env.NODE_ENV")` is transformed into `console.log("mode is "process.env.NODE_ENV""`). This...
### Describe the bug Sometimes when Vite is starting up with Storybook, it throws an error as shown below. Normally it's difficult to reproduce, but I've got a set of...
### Description For example - for error reporting I use sentry, which is pretty big (200kb) and it must be runned before all of my code. So, I created file...