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

닫힘
nero9 년 전을 오픈 · 0개의 코멘트
Admin of lolg.it 코멘트됨, 9 년 전

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
nero 8 년 전가 Close
로그인하여 이 대화에 참여
레이블 없음
마일스톤 없음
담당자 없음
참여자 1명
로딩중...
취소
저장
아직 콘텐츠가 없습니다.