Don't wrap the build in an anonymous `define`.
This cause the error "Mismatched anonymous define" when loading the bundle in Plone. The original reason for adding `start.frag` was to wrap the bundle in a closure to not pollute the global namespace (e.g. overriding global `define` and `require` with Almond`s versions) and secondarily to allow people to load the bundle via require.js. The second usecase should now probably be done via a shim in the require.js config.
Showing
Please register or sign in to comment