desy-html 16.0.1 → 16.0.2
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/docs/index.html +4 -0
- package/package.json +1 -1
- package/vite.config.js +1 -1
package/docs/index.html
CHANGED
|
@@ -147,6 +147,10 @@ cd desy-html</code></pre>
|
|
|
147
147
|
|
|
148
148
|
<h2>Changelog (English)</h2>
|
|
149
149
|
<p>What's new in the latest version of desy-html</p>
|
|
150
|
+
<h3>v.16.0.2</h3>
|
|
151
|
+
<ul class="text-sm">
|
|
152
|
+
<li>Fixed a bug in footer logos urls.</li>
|
|
153
|
+
</ul>
|
|
150
154
|
<h3>v.16.0.1</h3>
|
|
151
155
|
<ul class="text-sm">
|
|
152
156
|
<li>Fixed a bug in header logos urls.</li>
|
package/package.json
CHANGED
package/vite.config.js
CHANGED
|
@@ -577,7 +577,7 @@ async function rewriteCssImagePaths() {
|
|
|
577
577
|
const stylePath = path.resolve(process.cwd(), 'dist/css/styles.css');
|
|
578
578
|
if (!fs.existsSync(stylePath)) return;
|
|
579
579
|
let content = await fs.promises.readFile(stylePath, 'utf8');
|
|
580
|
-
content = content.replace(/url\((['"]?)\/images\//g, 'url($
|
|
580
|
+
content = content.replace(/url\((['"]?)\/images\//g, 'url($1../images/');
|
|
581
581
|
await fs.promises.writeFile(stylePath, content);
|
|
582
582
|
}
|
|
583
583
|
|