vite-plugin-vue
vite-plugin-vue copied to clipboard
Vite Vue Plugins
### Description This is an essentially valueless PR, but I noticed that it was using an unnecessary template literal, so I stop using it. ### Additional context N/A --- ###...
### Description This PR adds an early exit from the comparison function if the objects are completely equal. If the object references are equal, you can be sure that they...
### Description fixes #130 ### Additional context --- ### What is the purpose of this pull request? - [x] Bug fix - [ ] New Feature - [ ] Documentation...
### Description `vite-plugin-vue` should deprecate **inline main**, because `.vue` file can't be processed as `js/ts`. fix: #31, [vite#13756](https://github.com/vitejs/vite/issues/13756) ### Additional context When using `vite dev`, `lang="js"` or `lang="ts"` will be...
### Description: Special Query `customElement` closes: #214 Special query can be used to load a Vue component as a custom element without changing the file extension or global configuration: ```js...
### Description As mentioned in this https://github.com/vitejs/vite/issues/3910, external files (`.vue`) not pre-bundle in Vite. According to the discussion thread, it has been confirmed that Svelte already supports this feature. So,...
我添加了一个名为 babelPluginsAfterTsTransform 的选项,可以让使用者添加在 @babel/plugin-transform-typescript 后运行的 babel 插件
### Describe the bug 1. Enable sourcemap support in Vite config: ```js build: { sourcemap: true, } ``` 2. Run build command in watch mode: `vite build --watch` 3. Change...
### Related plugins - [X] [plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue) - [ ] [plugin-vue-jsx](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue-jsx) ### Describe the bug How to clear the comments in the template after packaging?   ### Reproduction...
### Describe the bug vite.config.ts 配置如下: `import { fileURLToPath, URL } from 'node:url'; import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; const getFileURLToPath = (url: string): string =>...