Skip to content

Commit 97bcac1

Browse files
committed
Use statically generated badges instead
1 parent 518b67a commit 97bcac1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
[![npm (scoped)](https://img.shields.io/npm/v/@zerodevx/svelte-toast/latest)](https://www.npmjs.com/package/@zerodevx/svelte-toast)
2-
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
3-
[![Lines of code](https://img.shields.io/tokei/lines/github/zerodevx/svelte-toast?label=lines%20of%20code)](https://github.com/XAMPPRocky/tokei)
4-
[![Size minified](https://img.shields.io/bundlephobia/min/@zerodevx/svelte-toast?label=minified)](https://bundlephobia.com/)
5-
[![Size gzipped](https://img.shields.io/bundlephobia/minzip/@zerodevx/svelte-toast?label=gzipped)](https://bundlephobia.com/)
2+
![Lines of code](https://img.shields.io/endpoint?url=https%3A%2F%2Fzerodevx.github.io%2Fsvelte-toast%2F_loc.json)
3+
![Size minified](https://img.shields.io/endpoint?url=https%3A%2F%2Fzerodevx.github.io%2Fsvelte-toast%2F_min.json)
4+
![Size gzipped](https://img.shields.io/endpoint?url=https%3A%2F%2Fzerodevx.github.io%2Fsvelte-toast%2F_gzip.json)
65

76
# svelte-toast
87

@@ -488,7 +487,7 @@ consumers, this helps keep in sync with breaking changes that happen in Svelte-w
488487
consumers, there's a change in import path:
489488

490489
```js
491-
// Import the compiled code.
490+
// For non-Svelte users, import the compiled code
492491
import { toast, SvelteToast } from '@zerodevx/svelte-toast/dist' // ESM
493492
const { toast, SvelteToast } = require('@zerodevx/svelte-toast/dist') // CJS
494493
```

0 commit comments

Comments
 (0)