Building onfontready
November 5, 2016 ยท View on GitHub
Doc Links
- Recipes and Usage Patterns
- Legacy Version Differences
- How to Break
onfontready - How it Works
- Compression Techniques
- Building
onfontready - Docs Home
onfontready is built using gulp. There are build commands and watch commands for every variation of the library, along with other helpers. Below are a list of commands, from most to least useful. They all assume that gulp is installed globally.
-
Build
modernandlegacyversions ofonfontready, the promise shim, theonfontsreadymulti-font wrapper, and the test builds.gulp all -
Build
modernandlegacyversions ofonfontready, the promise shim, theonfontsreadymulti-font wrapper, and the test builds. Then, it watches the source files and will rebuild each output as necessary.gulp allWatch -
Build
modernandlegacyversions ofonfontready.gulp build -
Build
modernandlegacyversions ofonfontready. Then, it watches the source files and will rebuild each output as necessary.gulp buildWatch -
Build
modernandlegacyversions ofonfontreadywith testing code injected.gulp buildTest -
Build
modernandlegacyversions ofonfontreadywith testing code injected. Then, it watches the source files and will rebuild each output as necessary.gulp buildTestWatch -
Build Promise shim for
onfontready.gulp promise -
Build Promise shim for
onfontready. Then, it watches the source file and will rebuild the output as necessary.gulp promiseWatch -
Build
onfontsreadywrapper for multi-font detection.gulp onfontsready -
Build
onfontsreadywrapper for multi-font detection. Then, it watches the source file and will rebuild the output as necessary.gulp onfontsreadyWatch -
Build
modernversion ofonfontready.gulp modern -
Build
legacyversion ofonfontready.gulp legacy -
Build
modernversion ofonfontreadywith testing code injected.gulp modernTest -
Build
legacyversion ofonfontreadywith testing code injected.gulp legacyTest