@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

English

npm version npm downloads

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

@21cnfe/onekit-mp-cli

小程序框架开发工具

1,063
duplicate-dependencies-webpack-plugin

webpack plugin to find duplicated dependencies from your bundle

332,104 6
babel-plugin-vue-jsx-hmr

babel plugin for vue3 jsx HMR

267,483 5
@debut/plugin-report

Report generation for strategy backtesting in debut

4,011 18
@amilochau/core-vue3

Core plugin for vue.js (v3) projects

3,802 0

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
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