Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vavite/node-loader

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vavite/node-loader

ESM loader for transpiling modules with Vite

  • 5.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.7K
increased by40.9%
Maintainers
0
Weekly downloads
 
Created
Source

@vavite/node-loader

@vavite/node-loader is Node ESM loader that uses Vite to transpile modules. It is part of the vavite project but it can be used in any Vite SSR project to enable sourcemap and breakpoints support.

Installation

npm install --save-dev @vavite/node-loader

Usage

Add the following to your Vite config:

import { defineConfig } from "vite";
import { nodeLoaderPlugin } from "@vavite/node-loader/plugin";

export default defineConfig({
  plugins: [
    nodeLoaderPlugin(),
    // ...
  ],
});

And run your project with vavite-loader vite dev.

FAQs

Package last updated on 30 Nov 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc