Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit 42efee2

Browse files
committed
v3.0.4
1 parent b145eb6 commit 42efee2

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ tsconfig.json
77
.DS_Store
88
/doc/
99
/types/
10+
*.ts
1011

11-
/dist/*.ts
12+
!/dist/index.d.ts
1213
/dist/t*
1314
/test/

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,16 @@ $ npm i @litert/loader@dev --save
4444

4545
### CDN (recommend)
4646

47-
Recommended: https://cdn.jsdelivr.net/npm/@litert/[email protected].2/dist/loader.min.js, you can also find it here https://cdn.jsdelivr.net/npm/@litert/loader/.
47+
Recommended: https://cdn.jsdelivr.net/npm/@litert/[email protected].4/dist/loader.min.js, you can also find it here https://cdn.jsdelivr.net/npm/@litert/loader/.
4848

49-
Also available on [unpkg](https://unpkg.com/@litert/[email protected].2/dist/loader.min.js).
49+
Also available on [unpkg](https://unpkg.com/@litert/[email protected].4/dist/loader.min.js).
5050

5151
## Usage
5252

5353
Here's a general how to use it:
5454

5555
```html
56-
<script src="https://cdn.jsdelivr.net/npm/@litert/[email protected].2/dist/loader.min.js"></script>
56+
<script src="https://cdn.jsdelivr.net/npm/@litert/[email protected].4/dist/loader.min.js"></script>
5757
```
5858

5959
The code hint needs to be added in "tsconfig.json":

doc/README.sc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ $ npm i @litert/loader@dev --save
4343

4444
### CDN(推荐)
4545

46-
推荐引用地址:https://cdn.jsdelivr.net/npm/@litert/loader@x.x.x/dist/index.min.js,当然 x.x.x 只是个例子需要改为正式版本号,也可以此处查找:https://cdn.jsdelivr.net/npm/@litert/loader/。
46+
推荐引用地址:https://cdn.jsdelivr.net/npm/@litert/loader@3.0.4/dist/index.min.js,也可以此处查找:https://cdn.jsdelivr.net/npm/@litert/loader/。
4747

48-
同样可使用 [unpkg](https://unpkg.com/@litert/loader@x.x.x/dist/index.min.js)
48+
同样可使用 [unpkg](https://unpkg.com/@litert/loader@3.0.4/dist/index.min.js)
4949

5050
## Usage
5151

5252
通常的使用方式:
5353

5454
```html
55-
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@x.x.x/dist/index.min.js"></script>
55+
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.0.4/dist/index.min.js"></script>
5656
```
5757

5858
代码提示需要在“tsconfig.json”中添加:

doc/README.tc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ $ npm i @litert/loader@dev --save
4343

4444
### CDN(推薦)
4545

46-
推薦引用位址:https://cdn.jsdelivr.net/npm/@litert/loader@x.x.x/dist/index.min.js,當然 x.x.x 只是個例子需要改為正式版本號,也可以此處查找:https://cdn.jsdelivr.net/npm/@litert/loader/。
46+
推薦引用位址:https://cdn.jsdelivr.net/npm/@litert/loader@3.0.4/dist/index.min.js,也可以此處查找:https://cdn.jsdelivr.net/npm/@litert/loader/。
4747

48-
同樣可使用 [unpkg](https://unpkg.com/@litert/loader@x.x.x/dist/index.min.js)
48+
同樣可使用 [unpkg](https://unpkg.com/@litert/loader@3.0.4/dist/index.min.js)
4949

5050
## Usage
5151

5252
通常的使用方式:
5353

5454
```html
55-
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@x.x.x/dist/index.min.js"></script>
55+
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.0.4/dist/index.min.js"></script>
5656
```
5757

5858
代碼提示需要在「tsconfig.json」中添加:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@litert/loader",
3-
"version": "3.0.2",
3+
"version": "3.0.4",
44
"description": "Simple browser module loader.",
55
"keywords": [
66
"litert",
77
"module",
88
"loader",
99
"require"
1010
],
11-
"main": "./dist/index.js",
11+
"main": "./dist/loader.js",
1212
"author": "hanguoshuai",
1313
"license": "Apache-2.0",
1414
"repository": {

0 commit comments

Comments
 (0)