jsly 2.0.1 → 2.0.3

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -10,9 +10,9 @@
10
10
  npm install jsly
11
11
  ```
12
12
 
13
- ### 使用cdn
13
+ ### 使用 cdn
14
14
  ```html
15
- <script src="https://cdn.jsdelivr.net/npm/jsly"></script>
15
+ <script src="https://cdn.jsdelivr.net/npm/jsly@<version>/dist/index.umd.js"></script>
16
16
  ```
17
17
 
18
18
  其余每个模块的具体用方法请前往单独模块中查看
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "jsly",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "小李大人的一些常用的js工具",
5
- "main": "dist/index.umd.js",
5
+ "main": "dist/index.cjs",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"