mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
chore: don't include dist
in the release commit (#2385)
This commit is contained in:
@@ -9,10 +9,6 @@ const version = process.argv[2];
|
||||
Promise.all(process.argv.slice(3).map(file =>
|
||||
fs.readFile(file, "utf8")
|
||||
.then(body => {
|
||||
// Replace size badge url
|
||||
// eslint-disable-next-line max-len
|
||||
body = body.replace(/(https:\/\/img\.badgesize\.io\/KaTeX\/KaTeX\/v)(?:.+)(\/dist\/katex\.min\.js\?compression=gzip)/g, `$1${version}$2`);
|
||||
|
||||
// Replace CDN urls
|
||||
// 1 - url prefix: "http…/KaTeX/
|
||||
// 2 - opening quote: "
|
||||
|
Reference in New Issue
Block a user