MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / Options

Class Options

tools/file_packager.py:99–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98
99class Options:
100 def __init__(self):
101 self.export_name = 'Module'
102 self.has_preloaded = False
103 self.has_embedded = False
104 self.jsoutput = None
105 self.obj_output = None
106 self.depfile = None
107 self.from_emcc = False
108 self.quiet = False
109 self.force = True
110 # If set to True, IndexedDB (IDBFS in library_idbfs.js) is used to locally
111 # cache VFS XHR so that subsequent page loads can read the data from the
112 # offline cache instead.
113 self.use_preload_cache = False
114 self.indexeddb_name = 'EM_PRELOAD_CACHE'
115 # If set to True, the package metadata is stored separately from js-output
116 # file which makes js-output file immutable to the package content changes.
117 # If set to False, the package metadata is stored inside the js-output file
118 # which makes js-output file to mutate on each invocation of this packager tool.
119 self.separate_metadata = False
120 self.lz4 = False
121 self.use_preload_plugins = False
122 self.support_node = True
123 self.wasm64 = False
124 self.export_es6 = False
125
126
127@dataclass

Callers 1

file_packager.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected