aboutsummaryrefslogtreecommitdiff
path: root/tools/file_packager.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/file_packager.py')
-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]]