interlockjs/interlock

Require.js Interop Plug-in

Closed this issue · 0 comments

Where the define function is RequireJS, the below code should result in the inner function being invoked with the modules bundled with Interlock.

define(["interlock!underscore:lib/index.js"], function (_) {
  // ...
});

RequireJS config can be configured to alias certain paths with their interlock! equivalent.