Skip to content

Commit

Permalink
Merge pull request #59 from karolis-sh/fix/windows
Browse files Browse the repository at this point in the history
fix: resolve correct asset paths in Windows
  • Loading branch information
Karolis Šarapnickis authored Dec 5, 2021
2 parents 593595f + f8a79af commit 23660b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = () => {
0,
relativeProxyImport.length - PROXY_SUFFIX.length
);
if (firstLine === `export default "/${relativeImport}";`) {
if (firstLine === `export default "${path.join('/', relativeImport)}";`) {
await writeFirstLine(filePath, `export default "${relativeImport}";`);
}
})
Expand Down

0 comments on commit 23660b2

Please sign in to comment.