RequireJS – Error: Mismatched anonymous define() module…
-
Hello,
I’m having an issue with requirejs in your plugin. I’m also using requirejs to concat and minify all javascript that is used on my web site. I only include two files: the require.js file and the combined main.js file.
On the page where wpDataTables are used I get the error
Error: Mismatched anonymous define() module: ...
that is actually mentione here: https://requirejs.org/docs/errors.html#mismatch
So what would be the best approach to solve it? I ofcourse could edit your JS includes, remove them and include via my main.js file, but than I’ll have to do it every time you update your plugin.
Many thanks in advance
Regards
Aleks
- The topic ‘RequireJS – Error: Mismatched anonymous define() module…’ is closed to new replies.