Hi Chromium-dev,
Is there a tool in chromium to compile js files containing amd modules? I specifically want to compile mojo public js in //mojo/public/js.
I tried using the closure_compiler in third_party with --transform_amd_modules option, but I get this error:
../../mojo/public/js/buffer.js:5: ERROR - Only define(function() ...), define(OBJECT_LITERAL) and define([dep, dep1], function(d0, d2, [exports, module]) ...) forms are currently supported.
IIUC closure does not yet support specifying id for a module? Is there another tool to accomplish this?