Sha256: 0560b6e3c9ed13631ff77d8ebf292dd5941d569ca789a386c8c676fdf73fb40f
Contents?: true
Size: 721 Bytes
Versions: 9
Compression:
Stored size: 721 Bytes
Contents
import {defineConfig} from 'vite' import RubyPlugin from 'vite-plugin-ruby' import FullReload from 'vite-plugin-full-reload' import StimulusHMR from 'vite-plugin-stimulus-hmr'; export default defineConfig({ plugins: [ RubyPlugin(), FullReload(['config/routes.rb', 'app/views/**/*', 'app/frontend/pages/**/*']), StimulusHMR() ], root: './app/frontend', build: { manifest: true, rollupOptions: { input: { application: 'app/frontend/entrypoints/application.js' } } }, css: { preprocessorOptions: { scss: { api: 'modern-compiler' // or "modern" } } } })
Version data entries
9 entries across 9 versions & 1 rubygems