fix: path manipulation should always use posix

This commit is contained in:
Devin Haska 2024-02-08 19:54:59 -08:00
parent d9df85fdd2
commit 5f6a1a8d33
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
const path = require("path"); const path = require("path").posix;
const { dir } = require("../constants.js"); const { dir } = require("../constants.js");
const getAllPosts = (collection) => { const getAllPosts = (collection) => {

View file

@ -4,7 +4,7 @@
* See more here: https://www.aleksandrhovhannisyan.com/blog/configuring-web-fonts-in-11ty-with-global-data/ * 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 = { const FONT_STYLE = {
NORMAL: "normal", NORMAL: "normal",