Removing unique file dependencies in QML, removing comments from JS Builds (except first one, ~-30% build size)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
49aa23de92
commit
95b47effdf
24 changed files with 176 additions and 100 deletions
|
@ -43,7 +43,7 @@ def test_setup():
|
|||
def test_map_source():
|
||||
sourcemap_available = debug.SOURCEMAP_INDEX is not None
|
||||
if sourcemap_available:
|
||||
assert debug.map_javascript_source("js/index.mjs", 21) == ("js/module/interface.mjs", 21)
|
||||
assert debug.map_javascript_source("js/index.mjs", 22) == ("js/module/interface.mjs", 23)
|
||||
assert debug.map_javascript_source("js/index.mjs", 100000) == ("js/index.mjs", 100000) # Too long, not found
|
||||
debug.SOURCEMAP_INDEX = None
|
||||
assert debug.map_javascript_source("js/index.mjs", 21) == ("js/index.mjs", 21)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue