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

クローズ
9 年 前nero によって開かれました · 0 コメント
Admin of lolg.it9 年 前 にコメントしました

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 年 前 に閉じられました
会話に参加するには サインイン してください。
ラベルなし
マイルストーンなし
担当者なし
1 参加者
読み込み中…
キャンセル
保存
まだコンテンツがありません