Skip to content

Commit c19ba7c

Browse files
committed
reduce bundle size by using image links
1 parent 9e62ffd commit c19ba7c

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/node_modules
2+
/.git
3+
/images

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="./images/stacklyn/Gradient.png" height="120">
2+
<img src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/stacklyn/Gradient.png" height="120">
33
</p>
44

55
<h1 align="center">Stacklyn</h1>
@@ -59,26 +59,26 @@ And best of all, supports most stack trace formats you'll come across!
5959
<sub>*Stacklyn V2 will add even more cool stuff! See the [roadmap](#roadmap) to know more.*</sub>
6060

6161
### Supported Formats
62-
- <img height="24" src="./images/chrome.png" align="center">&nbsp; Chrome 3+ (V8)
63-
- <img height="24" src="./images/node.svg" align="center">&nbsp; Node.js (V8)
64-
- <img height="24" src="./images/electron.svg" align="center">&nbsp; Electron (V8)
65-
- <img height="24" src="./images/deno.svg" align="center">&nbsp; Deno (V8)
66-
- <img height="24" src="./images/firefox.png" align="center">&nbsp; Firefox 1+ (SpiderMonkey)
67-
- <img height="24" src="./images/safari.png" align="center">&nbsp; Safari 6+ (JSC)
68-
- <img height="24" src="./images/bun.svg" align="center">&nbsp; Bun (V8-JSC Hybrid)
69-
- <img height="24" src="./images/ie.png" align="center">&nbsp; IE 10+ (ChakraCore)
70-
- <img height="24" src="./images/edge.png" align="center">&nbsp; Edge Legacy (ChakraCore)
71-
- <img height="24" src="./images/opera.png" align="center">&nbsp; Opera \<15 (Linear B, Futhark, Carakan)
72-
- <img height="24" src="./images/netscape.png" align="center">&nbsp; Netscape 7+ (Mocha / SpiderMonkey)
73-
- <img height="24" src="./images/espruino.png" align="center">&nbsp; Espruino (not kidding)
62+
- <img height="24" src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/chrome.png" align="center">&nbsp; Chrome 3+ (V8)
63+
- <img height="24" src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/node.svg" align="center">&nbsp; Node.js (V8)
64+
- <img height="24" src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/electron.svg" align="center">&nbsp; Electron (V8)
65+
- <img height="24" src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/deno.svg" align="center">&nbsp; Deno (V8)
66+
- <img height="24" src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/firefox.png" align="center">&nbsp; Firefox 1+ (SpiderMonkey)
67+
- <img height="24" src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/safari.png" align="center">&nbsp; Safari 6+ (JSC)
68+
- <img height="24" src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/bun.svg" align="center">&nbsp; Bun (V8-JSC Hybrid)
69+
- <img height="24" src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/ie.png" align="center">&nbsp; IE 10+ (ChakraCore)
70+
- <img height="24" src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/edge.png" align="center">&nbsp; Edge Legacy (ChakraCore)
71+
- <img height="24" src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/opera.png" align="center">&nbsp; Opera \<15 (Linear B, Futhark, Carakan)
72+
- <img height="24" src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/netscape.png" align="center">&nbsp; Netscape 7+ (Mocha / SpiderMonkey)
73+
- <img height="24" src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/espruino.png" align="center">&nbsp; Espruino (not kidding)
7474

7575
> [!NOTE]
7676
> > "Why do the logos look old?"
7777
>
7878
> They show the *first* version that added stack trace support.
7979
> However, all versions after the ones marked with a + are supported too.
8080
81-
## <img src="./images/stacklyn/Red.png" height="32" align="center"> Import Stacklyn
81+
## <img src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/stacklyn/Red.png" height="32" align="center"> Import Stacklyn
8282
Stacklyn supports all kinds of imports!
8383
1. As an HTML script tag:
8484
<sub>*(note: Stacklyn is automatically placed as `window.Stacklyn` or `globalThis.Stacklyn` in the global scope if you do this)*</sub>
@@ -128,7 +128,7 @@ This means even in CSP'd environments (e.g. file://), you can still parse stack
128128
- `overwrite` method to change the default runtime stack format, accepts a callback function
129129
---
130130

131-
## <img src="./images/stacklyn/Gold.png" height="32" align="center"> Contributing
131+
## <img src="https://raw.githubusercontent.com/stacklynjs/stacklyn/main/images/stacklyn/Gold.png" height="32" align="center"> Contributing
132132
We welcome contributors!
133133
If you've found a bug, had a suggestion, etc. Feel free to submit an issue or PR!
134134

0 commit comments

Comments
 (0)