1.0.3 • Published 2 years ago

viteik v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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
  }
})
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago