Skip to content

Commit

Permalink
Merge pull request #1199 from bryceosterhaus/master
Browse files Browse the repository at this point in the history
fix(npm-scripts): fix support for windows file system
  • Loading branch information
bryceosterhaus authored Mar 21, 2024
2 parents 7fcc0ce + 5f97b14 commit c6eebab
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ module.exports = function (_content, _map, _meta) {

const webContextPath = getBndWebContextPath(projectDir);

let urlPath = path.relative(buildConfig.input, resourcePath);
let urlPath = path
.relative(path.join(projectDir, buildConfig.input), resourcePath)
.split(path.sep)
.join(path.posix.sep);

urlPath = urlPath.replace(/scss$/, 'css');

Expand Down

0 comments on commit c6eebab

Please sign in to comment.