Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ export default function loader(content) {

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