Skip to content

pearofducks/viteik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

viteik

A shim to make working with Vite and Eik easy

install

pnpm add -D viteik

use

In vite.config.js

import { defineConfig } from 'vite'
import VitEik, { outputOptions } from 'viteik'

export default defineConfig({
  plugins: [VitEik()],
  // Any options for the Eik Rollup plugin can be passed to VitEik
  build: {
    rollupOptions: {
      input: './client/main.js',
      output: outputOptions
      // outputOptions is mostly telling Vite to stop using hashes
    }
  },
  server: {
    fs: { strict: true },
    middlewareMode: true
  }
})

About

A shim to make working with Vite and Eik easy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published