Skip to content

Commit

Permalink
Fix relative AMD import for webpack.
Browse files Browse the repository at this point in the history
Fixes #10.
  • Loading branch information
chr15m committed Feb 27, 2023
1 parent e682198 commit 106fa84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfxr.js
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ var units = {
// Now we're wrapping the factory and assigning the return
// value to the root (window) and returning it as well to
// the AMD loader.
define(["riffwave"], function(RIFFWAVE){
define(["./riffwave"], function(RIFFWAVE){
return (root.jsfxr = factory(RIFFWAVE));
});
} else if(typeof module === "object" && module.exports) {
Expand Down

1 comment on commit 106fa84

@colinwilliams91
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

damn, I literally looked right at this 😆

Please sign in to comment.