From 3403b731393a45b64fed8047b890ead2018ac0c8 Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Mon, 13 Nov 2017 12:01:17 -0800 Subject: [PATCH] Almost got them all... --- packages/gatsby-remark-code-repls/src/constants.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/gatsby-remark-code-repls/src/constants.js b/packages/gatsby-remark-code-repls/src/constants.js index e700beb1385e4..7cdbfa6f51082 100644 --- a/packages/gatsby-remark-code-repls/src/constants.js +++ b/packages/gatsby-remark-code-repls/src/constants.js @@ -1,12 +1,12 @@ "use strict" const { join } = require(`path`) +const normalizePath = require(`normalize-path`) module.exports = { OPTION_DEFAULT_LINK_TEXT: `REPL`, - OPTION_DEFAULT_REDIRECT_TEMPLATE_PATH: join( - __dirname, - `default-redirect-template.js` + OPTION_DEFAULT_REDIRECT_TEMPLATE_PATH: normalizePath( + join(__dirname, `default-redirect-template.js`) ), PROTOCOL_BABEL: `babel://`, PROTOCOL_CODEPEN: `codepen://`,