Skip to content

Commit

Permalink
update filename
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelpeixe committed Feb 1, 2022
1 parent bd02c6c commit ab779ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/pbjsGlobals.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = function(api, options) {
const modName = getModuleName(state.filename);
if (modName != null) {
// append "registration" of module file to $$PREBID_GLOBAL$$.installedModules
path.node.body.push(...api.parse(`window.${pbGlobal}.installedModules.push('${modName}');`, {filename: modName}).program.body);
path.node.body.push(...api.parse(`window.${pbGlobal}.installedModules.push('${modName}');`, {filename: state.filename}).program.body);
}
},
StringLiteral(path) {
Expand Down

0 comments on commit ab779ed

Please sign in to comment.