vite-plugin-resolve
Advanced tools
Comparing version 2.0.5 to 2.0.6
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6654