Skip to content

Commit 4cc43f3

Browse files
committed
modify base128-ascii link
1 parent 17bd357 commit 4cc43f3

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Compress all assets and embeds them into `dist/index.html`, making it convenient
44

55
The recipient can open it directly in the browser without manually unzipping the file.
66

7-
Using [DecompressionStream](https://developer.mozilla.org/en-US/docs/Web/API/DecompressionStream) + [base128-ascii](https://www.npmjs.com/package/base128-ascii).
7+
Using [DecompressionStream](https://developer.mozilla.org/en-US/docs/Web/API/DecompressionStream) + [base128-ascii](https://bddjr.github.io/base128/).
88

99
Preview: https://bddjr.github.io/vite-plugin-singlefile-compression/#/
1010

@@ -222,14 +222,14 @@ rendering chunks (1)...
222222
vite-plugin-singlefile-compression 2.4.7 deflate-raw base128-ascii
223223
224224
file:///D:/code/js/vite-plugin-singlefile-compression/test/dist/index.html
225-
129.157 kB -> 60.249 kB
225+
129.146 kB -> 60.245 kB
226226
227227
Finish.
228228
229229
computing gzip size...
230-
dist/index.html 60.24 kB │ gzip: 45.55 kB
230+
dist/index.html 60.24 kB │ gzip: 45.54 kB
231231
232-
✓ built in 331ms
232+
✓ built in 346ms
233233
```
234234

235235
## Clone

test/build-md.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ md.use(highlightjs, {
1616

1717
for (const name of fs.readdirSync('src/md')) {
1818
const mdText = fs.readFileSync('src/md/' + name).toString()
19-
const html = md.render(mdText).replaceAll('<a ', '<a target="_blank" ')
19+
const html = md.render(mdText).replaceAll('<a href=', '<a target="_blank" href=')
2020
const vue = `<!--
2121
Generate by build-md.mjs
2222
Do not manually modify!

test/src/md-vue/description.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<template>
66
<p>Compress all assets and embeds them into <code>dist/index.html</code>, making it convenient to share as a single HTML file.</p>
77
<p>The recipient can open it directly in the browser without manually unzipping the file.</p>
8-
<p>Using <a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/API/DecompressionStream">DecompressionStream</a> + <a target="_blank" href="https://www.npmjs.com/package/base128-ascii">base128-ascii</a>.</p>
8+
<p>Using <a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/API/DecompressionStream">DecompressionStream</a> + <a target="_blank" href="https://bddjr.github.io/base128/">base128-ascii</a>.</p>
99
<p>Github: <a target="_blank" href="https://github.com/bddjr/vite-plugin-singlefile-compression">https://github.com/bddjr/vite-plugin-singlefile-compression</a></p>
1010
<p>npm: <a target="_blank" href="https://www.npmjs.com/package/vite-plugin-singlefile-compression">https://www.npmjs.com/package/vite-plugin-singlefile-compression</a></p>
1111

test/src/md/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Compress all assets and embeds them into `dist/index.html`, making it convenient
22

33
The recipient can open it directly in the browser without manually unzipping the file.
44

5-
Using [DecompressionStream](https://developer.mozilla.org/en-US/docs/Web/API/DecompressionStream) + [base128-ascii](https://www.npmjs.com/package/base128-ascii).
5+
Using [DecompressionStream](https://developer.mozilla.org/en-US/docs/Web/API/DecompressionStream) + [base128-ascii](https://bddjr.github.io/base128/).
66

77
Github: https://github.com/bddjr/vite-plugin-singlefile-compression
88

0 commit comments

Comments
 (0)