Socket
Socket
Sign inDemoInstall

@coffeekraken/s-vite

Package Overview
Dependencies
33
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @coffeekraken/s-vite

AMAZING ViteJs encapsulation to make it work flowlessly inside of the Coffeekraken toolchain.


Version published
Weekly downloads
340
increased by46.55%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

{{#> layout-readme }}

ViteJS without the headeachs.

Our SVite implementation purpose is to use the power of ViteJS with a simplified API that is development and production ready.

Usage

Here's how to use our implementation:

import __SVite from '@coffeekraken/s-vite';
const sVite = new __SVite();

// start server
await sVite.start({
    // accept all the Vite configuration
});

// build for production
await sVite.build({});

Build

import __SVite from '@coffeekraken/s-vite';
const sVite = new __SVite();
await sVite.build({
    // ...parameters
});
Parameters

{{> interface namespace='@coffeekraken.s-vite.node.interface.SViteBuildParamsInterface' }}

Start server

import __SVite from '@coffeekraken/s-vite';
const sVite = new __SVite();
await sVite.start({
    // ...parameters
});
Parameters

This method accept all of the ViteJS configurations. It's pretty much a proxy that set some configurations that you can check defaults values just bellow:

{{> config namespace='@coffeekraken.s-vite.config.vite'}}

{{/ layout-readme }}

FAQs

Last updated on 18 Aug 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc