fix: path manipulation should always use posix
This commit is contained in:
parent
d9df85fdd2
commit
5f6a1a8d33
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
const path = require("path");
|
||||
const path = require("path").posix;
|
||||
const { dir } = require("../constants.js");
|
||||
|
||||
const getAllPosts = (collection) => {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* See more here: https://www.aleksandrhovhannisyan.com/blog/configuring-web-fonts-in-11ty-with-global-data/
|
||||
*/
|
||||
|
||||
const path = require("path");
|
||||
const path = require("path").posix;
|
||||
|
||||
const FONT_STYLE = {
|
||||
NORMAL: "normal",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue