Skip to content

Commit

Permalink
chore: Return SDK on default from loadSdk
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 12, 2020
1 parent 9931b7d commit 773b3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gatsby-source-nr1-sdk/loadSdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ module.exports = async (release) => {
getBundle(`${BASE_URL}-${release}.js`),
]);

return vm.runInThisContext([...bundles, '__NR1_SDK__'].join('\n'));
return vm.runInThisContext([...bundles, '__NR1_SDK__.default'].join('\n'));
};

0 comments on commit 773b3d6

Please sign in to comment.