Documentation
¶
Overview ¶
Program precompile updates pre-built standard library packages for the playground.
This script performs the following sequence of steps:
- Enumerate all standard packages that should be available in the playground.
- Precompile them, including transitive dependencies.
- Delete all old precompiled archive.
- Write all new precompiled archive in their place.
This will use the same GopherJS version as specified in the playground gm.mod to ensure consistency. The script uses GopherJS compiler API directly, so it doesn't require the GopherJS tool to be installed.
Click to show internal directories.
Click to hide internal directories.