vite-plugin-files-server 1.0.3 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -5
- package/package.json +2 -2
- package/plugin/index.cjs +755 -302
- package/plugin/index.d.cts +1 -0
- package/plugin/index.d.ts +1 -0
- package/plugin/index.js +752 -299
package/README.md
CHANGED
|
@@ -2,15 +2,29 @@
|
|
|
2
2
|
* @Author: Varian LIn
|
|
3
3
|
* @Date: 2026-03-11 16:43:38
|
|
4
4
|
* @LastEditors: Varian LIn
|
|
5
|
-
* @LastEditTime: 2026-03-
|
|
6
|
-
* @Description:
|
|
5
|
+
* @LastEditTime: 2026-03-18 15:16:22
|
|
6
|
+
* @Description:
|
|
7
7
|
-->
|
|
8
|
+
|
|
8
9
|
# vite-plugin-files-server
|
|
9
10
|
|
|
10
|
-
##
|
|
11
|
+
##
|
|
11
12
|
|
|
12
|
-
使用vite进行开发时, 在开发状态下, 将当前工程发布成一个服务, 使得可以便利的访问各个文件夹的静态资源;
|
|
13
|
+
使用vite进行开发时, 在开发状态下, 将当前工程发布成一个服务, 使得可以便利的访问各个文件夹的静态资源;
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
同时提供一个文件服务列表, 用来展示各个文件夹下的文件.
|
|
15
16
|
|
|
16
17
|
## NPM
|
|
18
|
+
|
|
19
|
+
https://www.npmjs.com/package/vite-plugin-files-server
|
|
20
|
+
|
|
21
|
+
##
|
|
22
|
+
|
|
23
|
+
npm config set registry https://registry.npmmirror.com
|
|
24
|
+
|
|
25
|
+
npm config set registry https://registry.npmjs.org
|
|
26
|
+
|
|
27
|
+
## version
|
|
28
|
+
|
|
29
|
+
- <2026年3月18日> v1.1.2 更新文件服务器样式, 高亮父层级
|
|
30
|
+
- v1.0.3 稳定版本, 同步webpack文件服务器样式
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-files-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./plugin/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
13
|
"dev": "tsup --watch",
|
|
14
|
-
"build": "tsup",
|
|
14
|
+
"build": "tsup && node build.mjs",
|
|
15
15
|
"test:playground": "cd playground && npm run dev"
|
|
16
16
|
},
|
|
17
17
|
"packageManager": "npm@10.9.2",
|