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

Lezárt
megnyitva ekkor: 9 éve nero által · 0 hozzászólás

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 lezárta ekkor: 8 éve
Jelentkezzen be hogy csatlakozhasson a beszélgetéshez.
Nincs címke
Nincs mérföldkő
Nincs megbízott
1 Résztvevő
Töltés...
Mégse
Mentés
Még nincs tartalom.