mattbrictson/nextgen

View on GitHub
examples/vite/vite.config.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { defineConfig } from 'vite'
import ViteRails from "vite-plugin-rails"

export default defineConfig({
  plugins: [
    ViteRails({
      envVars: { RAILS_ENV: "development" },
      envOptions: { defineOn: "import.meta.env" },
      fullReload: {
        additionalPaths: [],
      },
    }),
  ],
})