Socket
Socket
Sign inDemoInstall

vite-plugin-resolve

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-resolve - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

2

package.json
{
"name": "vite-plugin-resolve",
"version": "2.0.5",
"version": "2.0.6",
"description": "Custom resolve module content.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -11,3 +11,3 @@ # vite-plugin-resolve

✅ Browser, Node.js, Electron
✅ Browser, Node.js, Electron
🤔 You can think of this as the implementation of the official tutorial 👉 [Virtual Modules Convention](https://vitejs.dev/guide/api-plugin.html#virtual-modules-convention)

@@ -23,3 +23,3 @@

Resolve custom module content, this like Vite external plugin
You can load any code snippet you want

@@ -37,6 +37,6 @@ ```ts

```
This like Vite external plugin
You you can see more about external 👉 [vite-plugin-fast-external](https://github.com/caoxiemeihao/vite-plugins/tree/main/packages/fast-external)
#### Load a file
**Load a file**

@@ -53,3 +53,3 @@ Support nested module id, support return Promise

#### Electron
**Electron**

@@ -78,3 +78,3 @@ Resolve Electron Renderer-process

#### resolve(entries)
`resolve(entries)`

@@ -81,0 +81,0 @@ **entries**

@@ -11,3 +11,3 @@ # vite-plugin-resolve

✅ Browser, Node.js, Electron
✅ Browser, Node.js, Electron
🤔 你可以认为它是官方教程的一个实现 👉 [Virtual Modules Convention](https://vitejs.dev/guide/api-plugin.html#virtual-modules-convention)

@@ -23,3 +23,3 @@

加载自定模块内容,这个场景就是 external
你可以加载任何你想要的代码段

@@ -37,3 +37,3 @@ ```ts

```
这个场景就是 external
你可以看看关于 external 👉 [vite-plugin-fast-external](https://github.com/caoxiemeihao/vite-plugins/tree/main/packages/fast-external)

@@ -40,0 +40,0 @@

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