pret.main
extract_js_dependencies
[source]
Create a js file that will import all the globals that were accessed during pickling and assign them to the global scope.
Parameters
PARAMETER | DESCRIPTION |
---|---|
refs | List of Ref objects that were accessed during pickling
|
exclude | List of module patterns to exclude from the js globals file DEFAULT: |
extract_prebuilt_extension_assets
[source]
Extracts entry javascript files from the static directory of each package as well as a mapping entry -> file to know where to look for whenever the app asks for a chunk or an asset.
Parameters
PARAMETER | DESCRIPTION |
---|---|
packages | TYPE: |
RETURNS | DESCRIPTION |
---|---|
Tuple[Dict[str, Path], List[Tuple[str, str]]] | |
extract_prebuilt_base_assets
[source]
Extracts the base index.html file as well as a mapping entry -> file to know where to look for whenever the app asks for a chunk or an asset.
Parameters
PARAMETER | DESCRIPTION |
---|---|
Returns |
|
Tuple |
|