Skip to content

Commit 03c1c34

Browse files
committed
chore(vite): 0.3.0
1 parent ca4cbcb commit 03c1c34

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

packages/vite/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export const App = () => {
3939

4040
The source code includes the `src/font.d.ts` file, which you can add to your `tsconfig.json`.
4141

42-
```ts
42+
```json
4343
{
44-
\"compilerOptions\": {
45-
\"types\": [\"vite-plugin-font/src/font.d\"]
46-
}
44+
"compilerOptions": {
45+
"types": ["vite-plugin-font/src/font.d"]
46+
}
4747
}
4848
```
4949

packages/vite/README_zh.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export const App = () => {
3939

4040
源码中包含 `src/font.d.ts` 文件,你可以将其加入 tsconfig.json 中。
4141

42-
```ts
42+
```json
4343
{
44-
"compilerOptions": {
45-
"types": ["vite-plugin-font/src/font.d"]
46-
}
44+
"compilerOptions": {
45+
"types": ["vite-plugin-font/src/font.d"]
46+
}
4747
}
4848
```
4949

packages/vite/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"version": "0.2.0",
2+
"version": "0.3.0",
33
"name": "vite-plugin-font",
44
"description": "Vite plugin for bundle otf,ttf... font to webfonts",
55
"main": "./dist/index.js",
66
"type": "module",
77
"repository": {
88
"type": "git",
9-
"url": "git+https://github.com/KonghaYao/cn-font-split.git"
9+
"url": "https://github.com/KonghaYao/cn-font-split/tree/ts/packages/vite"
1010
},
1111
"files": ["dist", "src"],
1212
"author": "KonghaYao<[email protected]>",

0 commit comments

Comments
 (0)