@vue-vine/rsbuild-plugin
Rsbuild plugin for Vue Vine
81,386
1,442
| Install | |
|---|---|
npm install @vue-vine/rsbuild-plugin |
|
| Latest Version: | 1.7.27 |
| License: | MIT |
| Last Updated: | Oct 16, 2026 |
| Links: | GitHub · npm |
Maintainer: shen_qing_chuan
@vue-vine/rsbuild-plugin
Vue Vine 的 Rsbuild 插件。
TIPS: 🧪 Beta 功能 Rsbuild 支持目前处于 beta 阶段。
请安装 beta 版本并报告您遇到的任何问题。
安装
pnpm add -D @vue-vine/rsbuild-plugin@beta
使用
在 rsbuild.config.ts 中使用插件:
import { defineConfig } from '@rsbuild/core'
import { pluginVueVine } from 'vue-vine/rsbuild'
export default defineConfig({
plugins: [
pluginVueVine({
// 可选的编译器选项
// compilerOptions: { ... }
})
],
})
为什么使用插件?
Rsbuild 插件相比 Rspack loader 提供了更简单、更高层次的集成方式。它会自动:
- 配置
.vine.ts文件所需的 loader - 设置样式处理规则
- 通过 DefinePlugin 注入 Vue 运行时标志
对于需要细粒度控制 loader 配置的高级用户,仍可以直接使用 Rspack loader。
许可证
MIT License © 2024-PRESENT ShenQingchuan
Related Packages
duplicate-dependencies-webpack-plugin
webpack plugin to find duplicated dependencies from your bundle
332,104
6
Version History
| Version | Released | License |
|---|---|---|
| 1.7.27 | MIT | |
| 1.7.26 | MIT | |
| 1.7.25 | MIT | |
| 1.7.24 | MIT | |
| 1.7.23 | MIT | |
| 1.7.22 | MIT | |
| 1.7.21 | MIT |
Pre-releases (11)
| Version | Released | License |
|---|---|---|
| 1.7.20-beta.1 | MIT | |
| 1.7.19-beta.1 | MIT | |
| 1.7.18-beta.1 | MIT | |
| 1.7.17-beta.1 | MIT | |
| 1.7.16-beta.1 | MIT | |
| 1.7.15-beta.1 | MIT | |
| 1.7.14-beta.1 | MIT | |
| 1.7.13-beta.1 | MIT | |
| 1.7.12-beta.2 | MIT | |
| 1.7.12-beta.1 | MIT | |
| 1.7.11-beta.2 | MIT |