next-font 1.2.2-beta.1 → 2.0.0
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 +13 -0
- package/dist/google/font-data.json +1 -0
- package/dist/google/index.d.mts +34 -3
- package/dist/local.d.mts +1 -1
- package/package.json +4 -34
- package/dist/font-data-C1xjYOKH.mjs +0 -1
- package/dist/fontkit-DUtTFkcB.mjs +0 -3
- package/dist/rolldown-BoYKJZAz.mjs +0 -80
- package/dist/rolldown.d.mts +0 -6
- package/dist/rolldown.mjs +0 -1
- package/dist/vite.d.mts +0 -6
- package/dist/vite.mjs +0 -1
- /package/dist/{declaration-CoxK9dDm.d.mts → declaration-C2S8iRQd.d.mts} +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
## next-font
|
|
2
|
+
|
|
3
|
+
Derived from `@next/font`/`next/font`
|
|
4
|
+
|
|
5
|
+
This library is intended to be used with `*-plugin-next-font` (currently, there is a `rollup`, `rolldown`, and `vite` plugin)
|
|
6
|
+
|
|
7
|
+
### Install
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
npm install next-font
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
See [the Next.js documentation](https://nextjs.org/docs/app/api-reference/components/font) for more details. Note that where it uses `next/font` imports, `next-font` imports should be used instead.
|