Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

vite-plugin-ruby

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-ruby

Convention over configuration for using Vite in Ruby apps

latest
Source
npmnpm
Version
5.2.1
Version published
Weekly downloads
630K
8.37%
Maintainers
1
Weekly downloads
 
Created
Source

vite-plugin-ruby

Convention over configuration for Ruby projects using Vite


Installation 💿

Normally you wouldn't need to install it manually, instead follow the instructions of vite_rails, vite_hanami, or vite_ruby, which will install this plugin for you.

Else:

npm i vite-plugin-ruby # yarn add vite-plugin-ruby

Usage 🚀

Add it to your plugins in vite.config.js

// vite.config.js
import Vue from '@vitejs/plugin-vue' // Example, could be using other plugins.
import ViteRuby from 'vite-plugin-ruby'

export default {
  plugins: [
    Vue(),
    ViteRuby(),
  ],
};

You can now configure it using config/vite.json, check out the available configuration options for reference.

Thanks

  • vite-plugin-components: Picked up that neat pnpm setup.

License

This library is available as open source under the terms of the MIT License.

Keywords

plugin

FAQs

Package last updated on 24 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts