I'm following the multipage shim sharing pattern here: https://github.com/requirejs/example-multipage-shim
I'm using the same common.js and have a very similar and simple set up:
<script src="js/library/requirejs/require.min.js"></script> <script> require(['./js/config/common'], function (common) { //go on... }); </script> Everything loads fine and I can continue running operations inside the require closure, but I keep getting an error in Firefox complaining about a mismatched anonymous define() module with the above code. Given how simple it is and that I'm following the example pattern pretty much exactly I'm a bit confused as to why I'm getting it. I haven't used define() anywhere. Has something in requireJS changed in the last 24 days (since the multipage git repo was updated)?