#1183 Let amberc load libraries using require.js

Closed
opened 2 years ago by nero · 0 comments

Originally at 2015-06-05T17:52:04Z by Herbert Vojčík closed at 2015-07-26T19:47:49Z

This would mean:

  • -l / libraries should be a list of full AMD module names (not just package names)
  • -L / library_dirs ceases to exist
  • -C / amd_config should be added, which would specify file with configuration (one which is now generated as config.js)
  • -p / paths should be added, which would be a mapping:path,... comma-separated list in case we want to amberc something ad-hoc
  • in case of missing amber_core mappings, add those automatically so basic compilation works (only for -p, probably not for -C, there it is taken to contain everything needed)

Blocks #1012.

Originally at 2015-06-05T17:52:04Z by Herbert Vojčík closed at 2015-07-26T19:47:49Z This would mean: - [x] `-l` / `libraries` should be a list of full AMD module names (not just package names) - [x] `-L` / `library_dirs` ceases to exist - [x] `-C` / `amd_config` should be added, which would specify file with configuration (one which is now generated as `config.js`) - [x] `-p` / `paths` should be added, which would be a `mapping:path,...` comma-separated list in case we want to amberc something ad-hoc - [x] in case of missing `amber_core` mappings, add those automatically so basic compilation works (only for `-p`, probably not for `-C`, there it is taken to contain everything needed) Blocks #1012.
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.