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

vite-plugin-inspect

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-inspect

Inspect the intermediate state of Vite plugins

  • 0.3.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
767K
increased by6.38%
Maintainers
1
Weekly downloads
 
Created

What is vite-plugin-inspect?

vite-plugin-inspect is a Vite plugin that provides an inspection tool for Vite projects. It allows developers to inspect the internal state of Vite, including module graph, plugin hooks, and more. This can be particularly useful for debugging and understanding how Vite processes your project.

What are vite-plugin-inspect's main functionalities?

Inspect Module Graph

This feature allows you to inspect the module graph of your Vite project. By including the Inspect plugin in your Vite configuration, you can visualize and understand the relationships between different modules in your project.

import Inspect from 'vite-plugin-inspect';

export default {
  plugins: [
    Inspect()
  ]
};

Inspect Plugin Hooks

This feature enables you to inspect the plugin hooks that are being called during the build process. By setting the `hooks` option to true, you can see detailed information about each plugin hook and its execution.

import Inspect from 'vite-plugin-inspect';

export default {
  plugins: [
    Inspect({
      hooks: true
    })
  ]
};

Inspect Transformations

This feature allows you to inspect the transformations applied to your code. By enabling the `transformations` option, you can see how your code is being transformed by different plugins and loaders.

import Inspect from 'vite-plugin-inspect';

export default {
  plugins: [
    Inspect({
      transformations: true
    })
  ]
};

Other packages similar to vite-plugin-inspect

Keywords

FAQs

Package last updated on 10 Sep 2021

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