doc: clarify how to use file packages #7524
Merged
Conversation
Thanks, just one minor change request. |
@@ -57,11 +57,12 @@ Packaging using the file packager tool | |||
You can also run the *file packager* manually using the instructions at the top of `file_packager.py <https://github.com/kripken/emscripten/blob/master/tools/file_packager.py>`_. | |||
|
|||
The file packager generates a **.data** file and **.js** file. The **.js** file contains the code to use the data file, and must be loaded *before* loading your main compiled code. | |||
For instance, add ``<script>`` tags at the end of your ``--shell-file`` right before ``{{{ SCRIPT }}}```. |
kripken
Nov 19, 2018
Member
please put this in parentheses ( )
please put this in parentheses ( )
Beuc
Nov 19, 2018
Author
Contributor
Done!
Done!
919d14b
into
emscripten-core:incoming
23 of 26 checks passed
23 of 26 checks passed
haberbyte
added a commit
to haberbyte/emscripten
that referenced
this pull request
Jan 31, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
The current documentation had tricked me in a convoluted solution :)