vite-plugin-xq-cp-dep 1.0.1 → 1.0.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 CHANGED
@@ -52,14 +52,14 @@ package.json配置示例:
52
52
  <meta charset="utf-8">
53
53
  <meta name="viewport" content="width=device-width, initial-scale=1">
54
54
  <title>标题</title>
55
- <link rel="stylesheet" href="public/bootstrap/dist/css/bootstrap.min.css">
56
- <link rel="stylesheet" href="public/bootstrap-icons/font/bootstrap-icons.css">
57
- <script type="text/javascript" src="public/bootstrap/dist/js/bootstrap.js"></script>
55
+ <link rel="stylesheet" href="/bootstrap/dist/css/bootstrap.min.css">
56
+ <link rel="stylesheet" href="/bootstrap-icons/font/bootstrap-icons.css">
57
+ <script type="text/javascript" src="/bootstrap/dist/js/bootstrap.js"></script>
58
58
  </head>
59
59
  ```
60
60
 
61
61
  因为bootstrap和bootstrap-icons的文件都已经复制到public目录下,因此可以直接使用。
62
-
62
+ 另外public是公共目录,在页面引用的路径中无需写上public。
63
63
 
64
64
  # 备注说明
65
65
 
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vite-plugin-xq-cp-dep v1.0.1 (http://xqkeji.cn/)
2
+ * vite-plugin-xq-cp-dep v1.0.2 (http://xqkeji.cn/)
3
3
  * Author xqkeji.cn
4
4
  * LICENSE SSPL-1.0
5
5
  * Copyright 2022 xqkeji.cn
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vite-plugin-xq-cp-dep v1.0.1 (http://xqkeji.cn/)
2
+ * vite-plugin-xq-cp-dep v1.0.2 (http://xqkeji.cn/)
3
3
  * Author xqkeji.cn
4
4
  * LICENSE SSPL-1.0
5
5
  * Copyright 2022 xqkeji.cn
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vite-plugin-xq-cp-dep v1.0.1 (http://xqkeji.cn/)
2
+ * vite-plugin-xq-cp-dep v1.0.2 (http://xqkeji.cn/)
3
3
  * Author xqkeji.cn
4
4
  * LICENSE SSPL-1.0
5
5
  * Copyright 2022 xqkeji.cn
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-xq-cp-dep",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A vite copy all package.json config item 'dependencies' to public directory plugin.",
5
5
  "type": "module",
6
6
  "files": [