New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@analogjs/vite-plugin-nitro

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@analogjs/vite-plugin-nitro

A Vite plugin for adding a nitro API server

1.7.2
Version published
Weekly downloads
10K
36.45%
Maintainers
0
Weekly downloads
 
Created

@analogjs/vite-plugin-nitro

A Vite plugin for integrating with Nitro.

Install

npm install @analogjs/vite-plugin-nitro --save-dev

Setup

Add the plugin to the plugins array in your Vite config

import { defineConfig } from 'vite';
import nitro from '@analogjs/vite-plugin-nitro';

// https://vitejs.dev/config/
export default defineConfig({
  resolve: {
    mainFields: ['module'],
  },

  plugins: [nitro()],
});

FAQs

Package last updated on 21 Aug 2024

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