Originally at 2015-04-10T21:26:43Z by Herbert Vojčík
Blocks #1173.
In principle, having modules without hardcoded id is possible to run an app, but amberc uses the hardcoded name in define call to infer the full module id while reading compiled .js files.
A solution should be found which make amberc work with modules without module id hardcoded. This probably means redesigning amberc to use requirejs to load modules, and its parameters to provide a mapping. Reuse of existing config.js would be preferable, as it is already generated by a tool.
Originally at 2015-04-10T21:26:43Z by Herbert Vojčík
Blocks #1173.
In principle, having modules without hardcoded id is possible to run an app, but amberc uses the hardcoded name in `define` call to infer the full module id while reading compiled `.js` files.
A solution should be found which make amberc work with modules without module id hardcoded. This probably means redesigning amberc to use requirejs to load modules, and its parameters to provide a mapping. Reuse of existing `config.js` would be preferable, as it is already generated by a tool.
<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10883339-make-amberc-work-with-modules-without-hardcoded-module-id?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github).
</bountysource-plugin>
Originally at 2015-04-10T21:26:43Z by Herbert Vojčík
Blocks #1173.
In principle, having modules without hardcoded id is possible to run an app, but amberc uses the hardcoded name in
define
call to infer the full module id while reading compiled.js
files.A solution should be found which make amberc work with modules without module id hardcoded. This probably means redesigning amberc to use requirejs to load modules, and its parameters to provide a mapping. Reuse of existing
config.js
would be preferable, as it is already generated by a tool.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Already fixed in devkit 0.8 or previous. Closing.