interlockjs / interlock

JS bundler - inspired by Git, built on Babel.
MIT License
72 stars 7 forks source link

Require.js Interop Plug-in #57

Closed divmain closed 9 years ago

divmain commented 9 years ago

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.