Socket
Book a DemoInstallSign in
Socket

@namada/vite-esbuild-plugin

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@namada/vite-esbuild-plugin

This plugin provides support for [@namada/sdk-multicore](../sdk-multicore) features in Vite development mode. The multicore SDK utilizes WebWorkers to provide "threaded" features, and needs to be able to find and dynamically load `workerHelpers.js` script

latest
npmnpm
Version
1.0.1
Version published
Maintainers
4
Created
Source

@namada/vite-esbuild-plugin

This plugin provides support for @namada/sdk-multicore features in Vite development mode. The multicore SDK utilizes WebWorkers to provide "threaded" features, and needs to be able to find and dynamically load workerHelpers.js scripts as provided by wasm-bindgen-rayon.

Installation

To use this plugin, install @namada/vite-esbuild-plugin as a dev-dependency:

# NPM
npm install --save-dev @namada/vite-esbuild-plugin

# Yarn
yarn add -D @namada/vite-esbuild-plugin

Usage

In vite.config.ts, invoke as follows:

import { sdkMulticoreWorkerHelpers } from "@namada/vite-esbuild-plugin";

export default defineConfig({
  optimizeDeps: {
    esbuildOptions: {
      // Use this plugin to handle the SDK multicore worker helpers
      plugins: [sdkMulticoreWorkerHelpers()],
    },
  },
});

FAQs

Package last updated on 15 Aug 2025

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