From da7c34675760a1c058c49a9006dd85d626682912 Mon Sep 17 00:00:00 2001 From: Nick Reese Date: Sun, 1 Nov 2020 11:39:16 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20css=20due=20to=20path=20i?= =?UTF-8?q?ssues=20on=20windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: 84 --- package.json | 2 +- src/utils/rollupPluginHandleCss.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0f9c658f..ecd87ca2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@elderjs/elderjs", - "version": "1.1.6", + "version": "1.1.7", "main": "./build/index.js", "types": "./build/index.d.ts", "engineStrict": true, diff --git a/src/utils/rollupPluginHandleCss.ts b/src/utils/rollupPluginHandleCss.ts index a00fda20..e54cddf5 100644 --- a/src/utils/rollupPluginHandleCss.ts +++ b/src/utils/rollupPluginHandleCss.ts @@ -27,7 +27,7 @@ export default function elderjsHandleCss({ rootDir }) { const isCss = (id) => path.parse(id).ext === '.css'; const relDir = (str) => { - return ssrOutputPath(str.replace(`${rootDir}/`, '')); + return ssrOutputPath(str.replace(`${rootDir}${path.sep}`, '')); }; return {