Skip to content

Commit

Permalink
fix: πŸ› css due to path issues on windows
Browse files Browse the repository at this point in the history
βœ… Closes: 84
  • Loading branch information
Nick Reese committed Nov 1, 2020
1 parent 7df0a72 commit da7c346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/rollupPluginHandleCss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit da7c346

Please sign in to comment.