ko-es5 now supports AMD loaders and I'm using it successfully with require.js.
But I can't optimize my application by packaging all modules in a few files with the require.js optimizer (r.js). The issue seems to be that r.js doesn't parse global.define().
I patched lines 335-336 by replacing the 3 global.define with define and now everything works well.
ko-es5 now supports AMD loaders and I'm using it successfully with require.js.
But I can't optimize my application by packaging all modules in a few files with the require.js optimizer (r.js). The issue seems to be that r.js doesn't parse
global.define()
.I patched lines 335-336 by replacing the 3
global.define
withdefine
and now everything works well.