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

Закрыто
9 лет назад открыта nero · комментариев: 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
Войдите, чтобы присоединиться к обсуждению.
Нет меток
Нет этапа
Нет ответственного
1 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.