aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-09-21 17:15:32 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-09-21 17:15:32 -0700
commit48fa03221806ecb40efbe3aad57c56509afc12ae (patch)
tree7aaf44135e3138faabed6f6664b1586adc86c2ae
parentd54d63731d814f60972efea11462f3c5259c461f (diff)
file packager docs
-rw-r--r--tools/file_packager.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py
index 2a39f2b1..64a21386 100644
--- a/tools/file_packager.py
+++ b/tools/file_packager.py
@@ -4,6 +4,11 @@ to work with that.
This is called by emcc. You can also call it yourself.
+You can split your files into "asset bundles", and create each bundle separately
+with this tool. Then just include the generated js for each and they will load
+the data and prepare it accordingly. This allows you to share assets and reduce
+data downloads.
+
Usage:
file_packager.py TARGET [--preload A [B..]] [--embed C [D..]] [--compress COMPRESSION_DATA] [--pre-run] [--crunch[=X]]