Skip to content

Commit

Permalink
concat directory separators instead of "/" to make it work on Windows #…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gohan authored Mar 29, 2021
1 parent cd1e9c0 commit 96897dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function loader(content) {

return `
try {
process.dlopen(module, __dirname + "/" + __webpack_public_path__ + ${JSON.stringify(
process.dlopen(module, __dirname + require("path").sep + __webpack_public_path__ + ${JSON.stringify(
name
)}${
typeof options.flags !== 'undefined'
Expand Down

0 comments on commit 96897dd

Please sign in to comment.