#44 Add to FAQ: How do I create the path in an *.amd.json file?

Đã đóng
%! (template.HTML=9 năm trước cách đây)đang mở bởi nero · 0 ý kiến

Originally at 2015-01-14T17:48:05Z by Hannes Hirzel closed at 2015-01-15T17:35:18Z

Answer

  1. each library needs its own .amd.json file in the root directory of the project
  2. the path is relative to the library directory. Every single mapping is always resolved from the directory of the library.
  3. the *.amd.json files are used by grunt devel to construct a config.js file.

Some examples of *.amd.json files http://stackoverflow.com/questions/27374889/how-to-add-a-non-amber-library-with-bower-for-example-processing-js

Originally at 2015-01-14T17:48:05Z by Hannes Hirzel closed at 2015-01-15T17:35:18Z Answer 1. each library needs its own .amd.json file in the root directory of the project 2. the path is relative to the library directory. Every single mapping is always resolved from the directory of the library. 3. the *.amd.json files are used by ``grunt devel`` to construct a ``config.js`` file. Some examples of *.amd.json files http://stackoverflow.com/questions/27374889/how-to-add-a-non-amber-library-with-bower-for-example-processing-js
Đăng nhập để tham gia bình luận.
Không có nhãn
Không có Milestone
Không có người được phân công
1 tham gia
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.