New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

viteik

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viteik

A shim to make working with Vite and Eik easy

latest
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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

Keywords

vite

FAQs

Package last updated on 13 Jul 2022

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