@videinfra/static-website-builder 2.0.5 → 2.0.7
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/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/tasks/fonts/task.js +5 -1
- package/tasks/static/task.js +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [2.0.6] - 2026-02-12
|
|
8
|
+
### Fixed
|
|
9
|
+
- Broken fonts due to incorrect encoding
|
|
10
|
+
|
|
7
11
|
## [2.0.5] - 2026-02-12
|
|
8
12
|
### Added
|
|
9
13
|
- Expose `currentPagePath` to Twig templates
|
package/package.json
CHANGED
package/tasks/fonts/task.js
CHANGED
|
@@ -28,7 +28,11 @@ const getGlobPaths = nanomemoize.nanomemoize(function () {
|
|
|
28
28
|
function fonts() {
|
|
29
29
|
return (
|
|
30
30
|
gulp
|
|
31
|
-
.src(getGlobPaths(), {
|
|
31
|
+
.src(getGlobPaths(), {
|
|
32
|
+
since: gulp.lastRun(fonts),
|
|
33
|
+
// Don't decode / encode binary files, this would break fonts
|
|
34
|
+
encoding: false,
|
|
35
|
+
})
|
|
32
36
|
.pipe(taskStart())
|
|
33
37
|
|
|
34
38
|
.pipe(taskBeforeDest())
|
package/tasks/static/task.js
CHANGED
|
@@ -27,7 +27,11 @@ const getGlobPaths = nanomemoize.nanomemoize(function () {
|
|
|
27
27
|
function staticFiles() {
|
|
28
28
|
return (
|
|
29
29
|
gulp
|
|
30
|
-
.src(getGlobPaths(), {
|
|
30
|
+
.src(getGlobPaths(), {
|
|
31
|
+
since: gulp.lastRun(staticFiles),
|
|
32
|
+
// Don't decode / encode binary files, this would break them
|
|
33
|
+
encoding: false,
|
|
34
|
+
})
|
|
31
35
|
.pipe(taskStart())
|
|
32
36
|
|
|
33
37
|
.pipe(taskBeforeDest())
|