Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify build pipeline #961

Merged
merged 5 commits into from
Feb 9, 2022

Conversation

birkskyum
Copy link
Member

@birkskyum birkskyum commented Feb 6, 2022

We can remove the manual precompilation step (build-tsc) that generated /rollup/build/tsc. Blocked by #968

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2022

Bundle size report:

Size Change: +441 B
Total Size Before: 194 kB
Total Size After: 194 kB

Output file Before After Change
maplibre-gl.js 185 kB 185 kB +441 B
maplibre-gl.css 9.43 kB 9.43 kB 0 B
ℹ️ View Details
Source file Before After Change
src/data/pos_attributes.ts 0 B 7.07 kB +7.07 kB
src/style/style.ts 0 B 6.58 kB +6.58 kB
src/ui/map.ts 0 B 6.22 kB +6.22 kB
src/symbol/placement.ts 0 B 4.71 kB +4.71 kB
src/data/bucket/symbol_bucket.ts 0 B 4.26 kB +4.26 kB
src/util/evented.ts 0 B 3.9 kB +3.9 kB
src/geo/transform.ts 0 B 3.77 kB +3.77 kB
src/source/source_cache.ts 0 B 3.69 kB +3.69 kB
src/symbol/shaping.ts 0 B 3.62 kB +3.62 kB
src/symbol/symbol_layout.ts 0 B 3.62 kB +3.62 kB
src/render/painter.ts 0 B 3.31 kB +3.31 kB
src/ui/camera.ts 0 B 2.97 kB +2.97 kB
src/data/array_types.g.ts 0 B 2.77 kB +2.77 kB
src/ui/marker.ts 0 B 2.72 kB +2.72 kB
src/data/program_configuration.ts 0 B 2.62 kB +2.62 kB
src/render/draw_symbol.ts 0 B 2.49 kB +2.49 kB
src/data/bucket/line_bucket.ts 0 B 2.41 kB +2.41 kB
src/util/ajax.ts 0 B 2.34 kB +2.34 kB
src/ui/handler_manager.ts 0 B 2.33 kB +2.33 kB
src/ui/control/geolocate_control.ts 0 B 2.26 kB +2.26 kB
src/util/util.ts 0 B 1.93 kB +1.93 kB
src/source/tile.ts 0 B 1.93 kB +1.93 kB
src/ui/popup.ts 0 B 1.9 kB +1.9 kB
src/symbol/quads.ts 0 B 1.88 kB +1.88 kB
src/style/properties.ts 0 B 1.88 kB +1.88 kB
src/symbol/projection.ts 0 B 1.79 kB +1.79 kB
src/data/feature_index.ts 0 B 1.75 kB +1.75 kB
src/util/script_detection.ts 0 B 1.63 kB +1.63 kB
src/ui/control/navigation_control.ts 0 B 1.62 kB +1.62 kB
src/style-spec/expression/definitions/index.ts 0 B 1.62 kB +1.62 kB
src/symbol/collision_index.ts 0 B 1.62 kB +1.62 kB
src/style-spec/expression/index.ts 0 B 1.59 kB +1.59 kB
src/source/geojson_worker_source.ts 0 B 1.55 kB +1.55 kB
src/style-spec/diff.ts 0 B 1.53 kB +1.53 kB
src/render/image_manager.ts 0 B 1.4 kB +1.4 kB
src/style-spec/expression/definitions/within.ts 0 B 1.4 kB +1.4 kB
src/symbol/grid_index.ts 0 B 1.35 kB +1.35 kB
src/style-spec/expression/definitions/interpolate.ts 0 B 1.32 kB +1.32 kB
src/data/bucket/fill_extrusion_bucket.ts 0 B 1.3 kB +1.3 kB
src/render/program/symbol_program.ts 0 B 1.3 kB +1.3 kB
src/source/geojson_source.ts 0 B 1.29 kB +1.29 kB
src/gl/context.ts 0 B 1.28 kB +1.28 kB
src/source/worker_tile.ts 0 B 1.28 kB +1.28 kB
src/ui/handler/scroll_zoom.ts 0 B 1.25 kB +1.25 kB
src/style/style_layer.ts 0 B 1.22 kB +1.22 kB
src/source/query_features.ts 0 B 1.2 kB +1.2 kB
src/style-spec/function/index.ts 0 B 1.19 kB +1.19 kB
src/render/program/line_program.ts 0 B 1.15 kB +1.15 kB
src/style-spec/validate/validate_function.ts 0 B 1.14 kB +1.14 kB
src/symbol/cross_tile_symbol_index.ts 0 B 1.13 kB +1.13 kB
src/source/tile_id.ts 0 B 1.11 kB +1.11 kB
src/render/draw_debug.ts 0 B 1.11 kB +1.11 kB
src/source/vector_tile_source.ts 0 B 1.11 kB +1.11 kB
src/source/image_source.ts 0 B 1.11 kB +1.11 kB
src/render/draw_hillshade.ts 0 B 1.09 kB +1.09 kB
src/gl/value.ts 0 B 1.09 kB +1.09 kB
src/data/bucket/fill_bucket.ts 0 B 1.09 kB +1.09 kB
src/render/draw_collision_debug.ts 0 B 1.07 kB +1.07 kB
src/render/draw_heatmap.ts 0 B 1.05 kB +1.05 kB
src/style-spec/expression/parsing_context.ts 0 B 1.03 kB +1.03 kB
src/source/canvas_source.ts 0 B 1.02 kB +1.02 kB
src/util/transferable_grid_index.ts 0 B 1.02 kB +1.02 kB
src/style/style_layer/symbol_style_layer.ts 0 B 1.01 kB +1.01 kB
src/ui/control/attribution_control.ts 0 B 1.01 kB +1.01 kB
src/render/draw_line.ts 0 B 1.01 kB +1.01 kB
src/render/draw_raster.ts 0 B 1 kB +1 kB
src/util/tile_request_cache.ts 0 B 991 B +991 B
src/render/line_atlas.ts 0 B 983 B +983 B
src/util/primitives.ts 0 B 979 B +979 B
src/render/draw_fill.ts 0 B 976 B +976 B
src/data/bucket/circle_bucket.ts 0 B 968 B +968 B
src/style/style_layer/line_style_layer.ts 0 B 966 B +966 B
src/ui/handler/touch_zoom_rotate.ts 0 B 966 B +966 B
src/source/raster_dem_tile_source.ts 0 B 962 B +962 B
src/util/web_worker_transfer.ts 0 B 948 B +948 B
src/source/worker.ts 0 B 948 B +948 B
src/render/glyph_manager.ts 0 B 946 B +946 B
src/ui/hash.ts 0 B 944 B +944 B
src/util/intersection_tests.ts 0 B 935 B +935 B
src/source/raster_tile_source.ts 0 B 925 B +925 B
src/style/style_layer/fill_extrusion_style_layer.ts 0 B 924 B +924 B
src/style-spec/expression/definitions/match.ts 0 B 915 B +915 B
src/source/rtl_text_plugin.ts 0 B 915 B +915 B
src/render/program.ts 0 B 911 B +911 B
src/style-spec/feature_filter/index.ts 0 B 885 B +885 B
src/style-spec/expression/definitions/comparison.ts 0 B 884 B +884 B
src/util/actor.ts 0 B 882 B +882 B
src/util/is_char_in_unicode_block.ts 0 B 880 B +880 B
src/render/program/hillshade_program.ts 0 B 880 B +880 B
src/source/video_source.ts 0 B 875 B +875 B
src/style-spec/validate/validate_layer.ts 0 B 864 B +864 B
src/ui/control/fullscreen_control.ts 0 B 857 B +857 B
src/render/image_atlas.ts 0 B 830 B +830 B
src/ui/handler_inertia.ts 0 B 821 B +821 B
src/index.ts 0 B 819 B +819 B
src/style-spec/expression/definitions/coercion.ts 0 B 811 B +811 B
src/render/draw_fill_extrusion.ts 0 B 807 B +807 B
src/render/program/program_uniforms.ts 0 B 805 B +805 B
src/style-spec/util/color_spaces.ts 0 B 804 B +804 B
src/render/program/fill_extrusion_program.ts 0 B 801 B +801 B
src/util/performance.ts 0 B 782 B +782 B
src/data/bucket/symbol_attributes.ts 0 B 777 B +777 B
src/style-spec/expression/compound_expression.ts 0 B 767 B +767 B
src/data/dem_data.ts 0 B 759 B +759 B
src/ui/control/scale_control.ts 0 B 742 B +742 B
src/style-spec/expression/definitions/format.ts 0 B 725 B +725 B
src/render/program/collision_program.ts 0 B 725 B +725 B
src/ui/handler/box_zoom.ts 0 B 723 B +723 B
src/style-spec/expression/definitions/step.ts 0 B 708 B +708 B
src/util/struct_array.ts 0 B 699 B +699 B
src/source/vector_tile_worker_source.ts 0 B 698 B +698 B
src/style-spec/expression/definitions/assertion.ts 0 B 696 B +696 B
src/render/texture.ts 0 B 688 B +688 B
src/util/find_pole_of_inaccessibility.ts 0 B 685 B +685 B
src/util/image.ts 0 B 679 B +679 B
src/style/style_layer/symbol_style_layer_properties.g.ts 0 B 657 B +657 B
src/util/dom.ts 0 B 655 B +655 B
src/render/uniform_binding.ts 0 B 648 B +648 B
src/style-spec/validate/validate_source.ts 0 B 620 B +620 B
src/style-spec/validate/validate_filter.ts 0 B 618 B +618 B
src/render/program/pattern.ts 0 B 615 B +615 B
src/geo/lng_lat_bounds.ts 0 B 612 B +612 B
src/source/source_state.ts 0 B 603 B +603 B
src/style-spec/expression/definitions/number_format.ts 0 B 599 B +599 B
src/style/pauseable_placement.ts 0 B 597 B +597 B
src/ui/control/logo_control.ts 0 B 596 B +596 B
src/util/verticalize_punctuation.ts 0 B 583 B +583 B
src/geo/lng_lat.ts 0 B 583 B +583 B
src/render/draw_circle.ts 0 B 580 B +580 B
src/symbol/get_anchors.ts 0 B 578 B +578 B
src/render/program/fill_program.ts 0 B 577 B +577 B
src/ui/handler/keyboard.ts 0 B 571 B +571 B
src/render/program/raster_program.ts 0 B 564 B +564 B
src/render/program/heatmap_program.ts 0 B 563 B +563 B
src/style/light.ts 0 B 560 B +560 B
src/source/tile_cache.ts 0 B 556 B +556 B
src/ui/handler/mouse.ts 0 B 555 B +555 B
src/render/vertex_array_object.ts 0 B 553 B +553 B
src/style-spec/expression/definitions/index_of.ts 0 B 551 B +551 B
src/data/feature_position_map.ts 0 B 551 B +551 B
src/style-spec/validate/validate_property.ts 0 B 549 B +549 B
src/style/style_layer/circle_style_layer.ts 0 B 545 B +545 B
src/symbol/symbol_size.ts 0 B 539 B +539 B
src/gl/vertex_buffer.ts 0 B 539 B +539 B
src/ui/handler/tap_recognizer.ts 0 B 534 B +534 B
src/render/draw_background.ts 0 B 529 B +529 B
src/style-spec/expression/types.ts 0 B 511 B +511 B
src/style-spec/expression/definitions/slice.ts 0 B 498 B +498 B
src/style-spec/expression/values.ts 0 B 495 B +495 B
src/ui/handler/tap_drag_zoom.ts 0 B 482 B +482 B
src/style-spec/expression/definitions/let.ts 0 B 480 B +480 B
src/style/style_layer/custom_style_layer.ts 0 B 479 B +479 B
src/render/program/background_program.ts 0 B 478 B +478 B
src/style-spec/expression/definitions/case.ts 0 B 476 B +476 B
src/style-spec/expression/definitions/coalesce.ts 0 B 463 B +463 B
src/style/style_layer_index.ts 0 B 461 B +461 B
src/render/program/circle_program.ts 0 B 457 B +457 B
src/data/segment.ts 0 B 456 B +456 B
src/style-spec/expression/definitions/in.ts 0 B 454 B +454 B
src/style-spec/validate/validate_expression.ts 0 B 451 B +451 B
src/util/browser.ts 0 B 447 B +447 B
src/shaders/shaders.ts 0 B 443 B +443 B
src/ui/handler/touch_pan.ts 0 B 433 B +433 B
src/style-spec/expression/definitions/collator.ts 0 B 431 B +431 B
src/geo/edge_insets.ts 0 B 430 B +430 B
src/ui/handler/map_event.ts 0 B 428 B +428 B
src/style-spec/validate/validate.ts 0 B 419 B +419 B
src/util/worker_pool.ts 0 B 419 B +419 B
src/style-spec/expression/types/formatted.ts 0 B 415 B +415 B
src/style-spec/expression/definitions/at.ts 0 B 408 B +408 B
src/style-spec/group_by_layout.ts 0 B 407 B +407 B
src/style-spec/expression/definitions/literal.ts 0 B 405 B +405 B
src/style/load_sprite.ts 0 B 405 B +405 B
src/symbol/mergelines.ts 0 B 400 B +400 B
src/style/evaluation_parameters.ts 0 B 394 B +394 B
src/style-spec/validate/validate_object.ts 0 B 390 B +390 B
src/source/geojson_wrapper.ts 0 B 381 B +381 B
src/symbol/collision_feature.ts 0 B 378 B +378 B
src/util/webp_supported.ts 0 B 375 B +375 B
src/source/raster_dem_tile_worker_source.ts 0 B 372 B +372 B
src/style-spec/expression/definitions/length.ts 0 B 370 B +370 B
src/style/parse_glyph_pbf.ts 0 B 370 B +370 B
src/ui/handler/tap_zoom.ts 0 B 362 B +362 B
src/style/style_layer/heatmap_style_layer.ts 0 B 361 B +361 B
src/style-spec/validate/validate_array.ts 0 B 354 B +354 B
src/source/source.ts 0 B 354 B +354 B
src/ui/events.ts 0 B 354 B +354 B
src/util/request_manager.ts 0 B 352 B +352 B
src/style-spec/expression/definitions/var.ts 0 B 344 B +344 B
src/geo/mercator_coordinate.ts 0 B 343 B +343 B
src/render/draw_custom.ts 0 B 338 B +338 B
src/util/dispatcher.ts 0 B 336 B +336 B
src/style-spec/util/color.ts 0 B 328 B +328 B
src/render/glyph_atlas.ts 0 B 325 B +325 B
src/data/bucket/pattern_bucket_features.ts 0 B 324 B +324 B
src/util/global_worker_pool.ts 0 B 320 B +320 B
src/source/tile_bounds.ts 0 B 315 B +315 B
src/util/color_ramp.ts 0 B 313 B +313 B
src/style-spec/expression/evaluation_context.ts 0 B 312 B +312 B
src/symbol/path_interpolator.ts 0 B 311 B +311 B
src/symbol/clip_line.ts 0 B 306 B +306 B
src/style/format_section_override.ts 0 B 304 B +304 B
src/gl/index_buffer.ts 0 B 297 B +297 B
src/style-spec/validate_style.min.ts 0 B 296 B +296 B
src/style-spec/expression/definitions/image.ts 0 B 292 B +292 B
src/style-spec/validate/validate_light.ts 0 B 286 B +286 B
src/symbol/check_max_angle.ts 0 B 286 B +286 B
src/ui/handler/shim/touch_zoom_rotate.ts 0 B 285 B +285 B
src/ui/default_locale.ts 0 B 283 B +283 B
src/util/vectortile_to_geojson.ts 0 B 282 B +282 B
src/style/style_layer/line_style_layer_properties.g.ts 0 B 280 B +280 B
src/style/style_layer/fill_style_layer.ts 0 B 278 B +278 B
src/source/load_tilejson.ts 0 B 275 B +275 B
src/util/task_queue.ts 0 B 266 B +266 B
src/style/query_utils.ts 0 B 262 B +262 B
src/style-spec/expression/is_constant.ts 0 B 256 B +256 B
src/data/load_geometry.ts 0 B 253 B +253 B
src/util/classify_rings.ts 0 B 246 B +246 B
src/ui/handler/click_zoom.ts 0 B 240 B +240 B
src/style/style_layer/circle_style_layer_properties.g.ts 0 B 232 B +232 B
src/ui/handler/shim/drag_pan.ts 0 B 223 B +223 B
src/util/smart_wrap.ts 0 B 223 B +223 B
src/style-spec/validate/validate_number.ts 0 B 221 B +221 B
node_modules/tslib/tslib.es6.js 0 B 221 B +221 B
src/gl/framebuffer.ts 0 B 220 B +220 B
src/ui/anchor.ts 0 B 220 B +220 B
src/style/load_glyph_range.ts 0 B 218 B +218 B
src/util/throttled_invoker.ts 0 B 211 B +211 B
src/style-spec/deref.ts 0 B 208 B +208 B
src/style-spec/expression/types/collator.ts 0 B 203 B +203 B
src/style-spec/expression/scope.ts 0 B 202 B +202 B
src/style/style_layer/fill_style_layer_properties.g.ts 0 B 201 B +201 B
src/style-spec/validate/validate_enum.ts 0 B 200 B +200 B
src/symbol/transform_text.ts 0 B 200 B +200 B
src/render/program/debug_program.ts 0 B 195 B +195 B
src/style-spec/util/deep_equal.ts 0 B 194 B +194 B
src/style/style_layer/fill_extrusion_style_layer_properties.g.ts 0 B 191 B +191 B
src/data/bucket.ts 0 B 189 B +189 B
src/style-spec/expression/stops.ts 0 B 184 B +184 B
src/style/zoom_history.ts 0 B 183 B +183 B
src/style/create_style_layer.ts 0 B 183 B +183 B
src/ui/handler/shim/drag_rotate.ts 0 B 178 B +178 B
src/style-spec/util/unbundle_jsonlint.ts 0 B 176 B +176 B
src/style-spec/util/interpolate.ts 0 B 172 B +172 B
src/gl/color_mode.ts 0 B 172 B +172 B
src/symbol/anchor.ts 0 B 170 B +170 B
src/style/style_layer/raster_style_layer_properties.g.ts 0 B 168 B +168 B
src/style-spec/validate/validate_glyphs_url.ts 0 B 164 B +164 B
src/style/style_layer/hillshade_style_layer_properties.g.ts 0 B 164 B +164 B
src/util/debug.ts 0 B 161 B +161 B
src/style-spec/util/properties.ts 0 B 154 B +154 B
src/util/offscreen_canvas_supported.ts 0 B 154 B +154 B
src/gl/cull_face_mode.ts 0 B 154 B +154 B
src/style-spec/expression/types/resolved_image.ts 0 B 153 B +153 B
src/style/validate_style.ts 0 B 153 B +153 B
src/util/dictionary_coder.ts 0 B 153 B +153 B
src/gl/stencil_mode.ts 0 B 152 B +152 B
src/style-spec/empty.ts 0 B 151 B +151 B
src/ui/handler/shim/dblclick_zoom.ts 0 B 150 B +150 B
src/style/style_layer/hillshade_style_layer.ts 0 B 145 B +145 B
src/data/bucket/pattern_attributes.ts 0 B 141 B +141 B
src/style/style_layer/heatmap_style_layer_properties.g.ts 0 B 137 B +137 B
src/style-spec/validate/validate_color.ts 0 B 135 B +135 B
src/gl/depth_mode.ts 0 B 135 B +135 B
src/util/throttle.ts 0 B 134 B +134 B
src/style-spec/util/get_type.ts 0 B 133 B +133 B
src/style-spec/error/validation_error.ts 0 B 126 B +126 B
src/data/bucket/fill_extrusion_attributes.ts 0 B 120 B +120 B
src/data/bucket/line_attributes.ts 0 B 119 B +119 B
src/style/style_image.ts 0 B 119 B +119 B
src/style-spec/validate/validate_string.ts 0 B 118 B +118 B
src/style/style_layer/background_style_layer_properties.g.ts 0 B 118 B +118 B
src/style-spec/validate/validate_boolean.ts 0 B 116 B +116 B
src/style-spec/validate/validate_constants.ts 0 B 115 B +115 B
src/data/bucket/fill_attributes.ts 0 B 112 B +112 B
src/style-spec/expression/runtime_error.ts 0 B 109 B +109 B
src/render/program/clipping_mask_program.ts 0 B 107 B +107 B
src/data/bucket/line_attributes_ext.ts 0 B 103 B +103 B
src/ui/handler/handler_util.ts 0 B 99 B +99 B
src/style-spec/expression/parsing_error.ts 0 B 98 B +98 B
src/util/resolve_tokens.ts 0 B 96 B +96 B
src/data/raster_bounds_attributes.ts 0 B 96 B +96 B
src/data/bucket/circle_attributes.ts 0 B 93 B +93 B
src/source/pixels_to_tile_units.ts 0 B 91 B +91 B
src/data/evaluation_feature.ts 0 B 87 B +87 B
src/data/bucket/heatmap_bucket.ts 0 B 82 B +82 B
src/style-spec/util/extend.ts 0 B 80 B +80 B
src/util/config.ts 0 B 79 B +79 B
src/style-spec/util/result.ts 0 B 78 B +78 B
src/shaders/encode_attribute.ts 0 B 72 B +72 B
src/style/style_layer/background_style_layer.ts 0 B 72 B +72 B
src/style/style_layer/raster_style_layer.ts 0 B 66 B +66 B
src/style-spec/validate/validate_image.ts 0 B 64 B +64 B
src/style-spec/validate/validate_layout_property.ts 0 B 55 B +55 B
src/style-spec/validate/validate_paint_property.ts 0 B 54 B +54 B
src/style-spec/validate/validate_formatted.ts 0 B 54 B +54 B
build/web_worker_replacement.ts 0 B 42 B +42 B
node_modules/gl-matrix/esm/mat4.js 2.12 kB 2.15 kB +32 B
src/data/extent.ts 0 B 32 B +32 B
src/symbol/one_em.ts 0 B 30 B +30 B
src/style-spec/util/ref_properties.ts 0 B 24 B +24 B
node_modules/murmurhash-js/index.js 76 B 82 B +6 B
node_modules/@mapbox/whoots-js/index.mjs 273 B 279 B +6 B
node_modules/@mapbox/mapbox-gl-supported/index.js 975 B 981 B +6 B
node_modules/vt-pbf/lib/geojson_wrapper.js 446 B 450 B +4 B
node_modules/@mapbox/tiny-sdf/index.js 1.1 kB 1.11 kB +4 B
node_modules/@mapbox/unitbezier/index.js 431 B 434 B +3 B
node_modules/tinyqueue/index.js 364 B 367 B +3 B
node_modules/quickselect/index.js 353 B 355 B +2 B
node_modules/pbf/index.js 2.83 kB 2.83 kB +2 B
node_modules/geojson-vt/src/transform.js 274 B 276 B +2 B
node_modules/geojson-vt/src/tile.js 779 B 781 B +2 B
node_modules/@mapbox/vector-tile/lib/vectortilefeature.js 1.01 kB 1.01 kB +1 B
node_modules/vt-pbf/index.js 871 B 872 B +1 B
node_modules/kdbush/src/index.js 370 B 371 B +1 B
node_modules/gl-matrix/esm/vec3.js 830 B 831 B +1 B
node_modules/csscolorparser/csscolorparser.js 2.05 kB 2.05 kB -1 B
node_modules/geojson-vt/src/feature.js 301 B 300 B -1 B
node_modules/geojson-vt/src/index.js 1.57 kB 1.57 kB -1 B
node_modules/@mapbox/point-geometry/index.js 634 B 632 B -2 B
node_modules/kdbush/src/within.js 334 B 332 B -2 B
node_modules/geojson-vt/src/wrap.js 466 B 464 B -2 B
node_modules/geojson-vt/src/simplify.js 281 B 278 B -3 B
node_modules/@mapbox/geojson-rewind/index.js 343 B 339 B -4 B
node_modules/geojson-vt/src/convert.js 860 B 851 B -9 B
node_modules/geojson-vt/src/clip.js 879 B 870 B -9 B
node_modules/supercluster/index.js 2.08 kB 2.06 kB -14 B
rollup/build/tsc/src/style-spec/util/ref_properties.js 24 B 0 B -24 B
rollup/build/tsc/src/symbol/one_em.js 30 B 0 B -30 B
rollup/build/tsc/src/data/extent.js 32 B 0 B -32 B
rollup/build/tsc/src/style-spec/validate/validate_paint_property.js 54 B 0 B -54 B
rollup/build/tsc/src/style-spec/validate/validate_layout_property.js 55 B 0 B -55 B
rollup/build/tsc/src/style-spec/validate/validate_formatted.js 61 B 0 B -61 B
rollup/build/tsc/src/style-spec/validate/validate_image.js 62 B 0 B -62 B
rollup/build/tsc/src/style/style_layer/raster_style_layer.js 66 B 0 B -66 B
rollup/build/tsc/src/style/style_layer/background_style_layer.js 72 B 0 B -72 B
rollup/build/tsc/src/util/config.js 79 B 0 B -79 B
rollup/build/tsc/src/style-spec/util/result.js 81 B 0 B -81 B
rollup/build/tsc/src/shaders/encode_attribute.js 81 B 0 B -81 B
rollup/build/tsc/src/data/bucket/heatmap_bucket.js 82 B 0 B -82 B
rollup/build/tsc/src/style-spec/util/extend.js 83 B 0 B -83 B
rollup/build/tsc/src/data/bucket/circle_attributes.js 93 B 0 B -93 B
rollup/build/tsc/src/data/evaluation_feature.js 96 B 0 B -96 B
rollup/build/tsc/src/util/resolve_tokens.js 96 B 0 B -96 B
rollup/build/tsc/src/data/raster_bounds_attributes.js 96 B 0 B -96 B
rollup/build/tsc/src/style-spec/expression/parsing_error.js 98 B 0 B -98 B
rollup/build/tsc/src/ui/handler/handler_util.js 100 B 0 B -100 B
rollup/build/tsc/src/data/bucket/line_attributes_ext.js 103 B 0 B -103 B
rollup/build/tsc/src/source/pixels_to_tile_units.js 103 B 0 B -103 B
rollup/build/tsc/src/render/program/clipping_mask_program.js 107 B 0 B -107 B
rollup/build/tsc/src/style-spec/expression/runtime_error.js 110 B 0 B -110 B
rollup/build/tsc/src/style-spec/validate/validate_constants.js 112 B 0 B -112 B
rollup/build/tsc/src/data/bucket/fill_attributes.js 112 B 0 B -112 B
rollup/build/tsc/src/style/style_layer/background_style_layer_properties.g.js 118 B 0 B -118 B
rollup/build/tsc/src/data/bucket/line_attributes.js 119 B 0 B -119 B
rollup/build/tsc/src/data/bucket/fill_extrusion_attributes.js 120 B 0 B -120 B
rollup/build/tsc/src/style-spec/validate/validate_boolean.js 122 B 0 B -122 B
rollup/build/tsc/src/style-spec/error/validation_error.js 123 B 0 B -123 B
rollup/build/tsc/src/style-spec/validate/validate_string.js 124 B 0 B -124 B
rollup/build/tsc/src/style/style_image.js 126 B 0 B -126 B
rollup/build/tsc/src/style-spec/util/get_type.js 133 B 0 B -133 B
rollup/build/tsc/src/gl/depth_mode.js 135 B 0 B -135 B
rollup/build/tsc/src/style/style_layer/heatmap_style_layer_properties.g.js 137 B 0 B -137 B
rollup/build/tsc/src/style-spec/validate/validate_color.js 141 B 0 B -141 B
rollup/build/tsc/src/data/bucket/pattern_attributes.js 141 B 0 B -141 B
rollup/build/tsc/src/util/throttle.js 143 B 0 B -143 B
rollup/build/tsc/src/style/style_layer/hillshade_style_layer.js 146 B 0 B -146 B
rollup/build/tsc/src/util/dictionary_coder.js 150 B 0 B -150 B
rollup/build/tsc/src/style-spec/expression/types/resolved_image.js 151 B 0 B -151 B
rollup/build/tsc/src/ui/handler/shim/dblclick_zoom.js 151 B 0 B -151 B
rollup/build/tsc/src/gl/stencil_mode.js 152 B 0 B -152 B
rollup/build/tsc/src/style/validate_style.js 153 B 0 B -153 B
rollup/build/tsc/src/util/offscreen_canvas_supported.js 154 B 0 B -154 B
rollup/build/tsc/src/gl/cull_face_mode.js 154 B 0 B -154 B
rollup/build/tsc/src/style-spec/empty.js 155 B 0 B -155 B
rollup/build/tsc/src/style-spec/util/properties.js 156 B 0 B -156 B
node_modules/gl-matrix/esm/vec4.js 618 B 457 B -161 B
rollup/build/tsc/src/style/style_layer/hillshade_style_layer_properties.g.js 164 B 0 B -164 B
rollup/build/tsc/src/symbol/anchor.js 167 B 0 B -167 B
rollup/build/tsc/src/style/style_layer/raster_style_layer_properties.g.js 168 B 0 B -168 B
rollup/build/tsc/src/style-spec/validate/validate_glyphs_url.js 171 B 0 B -171 B
rollup/build/tsc/src/gl/color_mode.js 173 B 0 B -173 B
rollup/build/tsc/src/style-spec/util/interpolate.js 175 B 0 B -175 B
rollup/build/tsc/src/style-spec/util/unbundle_jsonlint.js 179 B 0 B -179 B
rollup/build/tsc/src/ui/handler/shim/drag_rotate.js 180 B 0 B -180 B
rollup/build/tsc/src/style/zoom_history.js 185 B 0 B -185 B
rollup/build/tsc/src/style/create_style_layer.js 186 B 0 B -186 B
rollup/build/tsc/src/style-spec/expression/stops.js 189 B 0 B -189 B
rollup/build/tsc/src/style/style_layer/fill_extrusion_style_layer_properties.g.js 191 B 0 B -191 B
rollup/build/tsc/src/style-spec/util/deep_equal.js 194 B 0 B -194 B
rollup/build/tsc/src/data/bucket.js 195 B 0 B -195 B
rollup/build/tsc/src/render/program/debug_program.js 195 B 0 B -195 B
rollup/build/tsc/src/style-spec/expression/scope.js 200 B 0 B -200 B
rollup/build/tsc/src/style/style_layer/fill_style_layer_properties.g.js 200 B 0 B -200 B
rollup/build/tsc/src/style-spec/expression/types/collator.js 202 B 0 B -202 B
rollup/build/tsc/src/symbol/transform_text.js 202 B 0 B -202 B
rollup/build/tsc/src/style-spec/validate/validate_enum.js 208 B 0 B -208 B
rollup/build/tsc/src/style-spec/deref.js 210 B 0 B -210 B
rollup/build/tsc/src/util/throttled_invoker.js 213 B 0 B -213 B
rollup/build/tsc/src/gl/framebuffer.js 217 B 0 B -217 B
rollup/build/tsc/src/ui/anchor.js 217 B 0 B -217 B
rollup/build/tsc/src/style-spec/validate/validate_number.js 221 B 0 B -221 B
rollup/build/tsc/src/style/load_glyph_range.js 223 B 0 B -223 B
rollup/build/tsc/src/ui/handler/shim/drag_pan.js 225 B 0 B -225 B
rollup/build/tsc/src/style/style_layer/circle_style_layer_properties.g.js 232 B 0 B -232 B
rollup/build/tsc/src/util/smart_wrap.js 233 B 0 B -233 B
rollup/build/tsc/src/ui/handler/click_zoom.js 243 B 0 B -243 B
rollup/build/tsc/src/util/classify_rings.js 247 B 0 B -247 B
rollup/build/tsc/src/data/load_geometry.js 252 B 0 B -252 B
rollup/build/tsc/src/style-spec/expression/is_constant.js 256 B 0 B -256 B
rollup/build/tsc/src/style/query_utils.js 265 B 0 B -265 B
rollup/build/tsc/src/util/task_queue.js 267 B 0 B -267 B
rollup/build/tsc/src/style/style_layer/line_style_layer_properties.g.js 280 B 0 B -280 B
rollup/build/tsc/src/source/load_tilejson.js 280 B 0 B -280 B
rollup/build/tsc/src/style/style_layer/fill_style_layer.js 282 B 0 B -282 B
rollup/build/tsc/src/ui/default_locale.js 283 B 0 B -283 B
rollup/build/tsc/src/symbol/check_max_angle.js 286 B 0 B -286 B
rollup/build/tsc/src/ui/handler/shim/touch_zoom_rotate.js 286 B 0 B -286 B
rollup/build/tsc/src/style-spec/validate/validate_light.js 291 B 0 B -291 B
rollup/build/tsc/src/gl/index_buffer.js 292 B 0 B -292 B
rollup/build/tsc/src/style-spec/expression/definitions/image.js 296 B 0 B -296 B
rollup/build/tsc/src/style-spec/validate_style.min.js 297 B 0 B -297 B
rollup/build/tsc/src/symbol/clip_line.js 300 B 0 B -300 B
rollup/build/tsc/src/style/format_section_override.js 305 B 0 B -305 B
rollup/build/tsc/src/symbol/path_interpolator.js 312 B 0 B -312 B
rollup/build/tsc/src/style-spec/expression/evaluation_context.js 314 B 0 B -314 B
rollup/build/tsc/src/source/tile_bounds.js 317 B 0 B -317 B
rollup/build/tsc/src/util/color_ramp.js 319 B 0 B -319 B
rollup/build/tsc/src/render/glyph_atlas.js 319 B 0 B -319 B
rollup/build/tsc/src/util/web_worker.js 324 B 0 B -324 B
rollup/build/tsc/src/style-spec/util/color.js 326 B 0 B -326 B
rollup/build/tsc/src/data/bucket/pattern_bucket_features.js 327 B 0 B -327 B
rollup/build/tsc/src/util/dispatcher.js 330 B 0 B -330 B
rollup/build/tsc/src/util/global_worker_pool.js 337 B 0 B -337 B
rollup/build/tsc/src/render/draw_custom.js 338 B 0 B -338 B
rollup/build/tsc/src/style-spec/expression/definitions/var.js 344 B 0 B -344 B
rollup/build/tsc/src/geo/mercator_coordinate.js 344 B 0 B -344 B
rollup/build/tsc/src/style/evaluation_parameters.js 348 B 0 B -348 B
rollup/build/tsc/src/style/parse_glyph_pbf.js 353 B 0 B -353 B
rollup/build/tsc/src/source/source.js 353 B 0 B -353 B
rollup/build/tsc/src/util/request_manager.js 355 B 0 B -355 B
rollup/build/tsc/src/style-spec/validate/validate_array.js 356 B 0 B -356 B
rollup/build/tsc/src/util/performance.js 357 B 0 B -357 B
rollup/build/tsc/src/util/worker_pool.js 357 B 0 B -357 B
rollup/build/tsc/src/ui/events.js 357 B 0 B -357 B
rollup/build/tsc/src/source/raster_dem_tile_worker_source.js 358 B 0 B -358 B
rollup/build/tsc/src/style/style_layer/heatmap_style_layer.js 360 B 0 B -360 B
rollup/build/tsc/src/ui/handler/tap_zoom.js 366 B 0 B -366 B
rollup/build/tsc/src/source/geojson_wrapper.js 370 B 0 B -370 B
rollup/build/tsc/src/style-spec/expression/definitions/length.js 372 B 0 B -372 B
rollup/build/tsc/src/util/webp_supported.js 376 B 0 B -376 B
rollup/build/tsc/src/symbol/collision_feature.js 378 B 0 B -378 B
rollup/build/tsc/src/util/vectortile_to_geojson.js 382 B 0 B -382 B
rollup/build/tsc/src/style-spec/validate/validate.js 383 B 0 B -383 B
rollup/build/tsc/src/style-spec/validate/validate_object.js 390 B 0 B -390 B
rollup/build/tsc/src/style-spec/group_by_layout.js 399 B 0 B -399 B
rollup/build/tsc/src/symbol/mergelines.js 403 B 0 B -403 B
rollup/build/tsc/src/style-spec/expression/definitions/at.js 407 B 0 B -407 B
rollup/build/tsc/src/style-spec/expression/definitions/literal.js 408 B 0 B -408 B
rollup/build/tsc/src/style/load_sprite.js 410 B 0 B -410 B
rollup/build/tsc/src/style-spec/expression/types/formatted.js 424 B 0 B -424 B
rollup/build/tsc/src/geo/edge_insets.js 428 B 0 B -428 B
rollup/build/tsc/src/ui/handler/map_event.js 430 B 0 B -430 B
rollup/build/tsc/src/style-spec/expression/definitions/collator.js 437 B 0 B -437 B
rollup/build/tsc/src/ui/handler/touch_pan.js 440 B 0 B -440 B
rollup/build/tsc/src/shaders/shaders.js 443 B 0 B -443 B
rollup/build/tsc/src/util/browser.js 446 B 0 B -446 B
rollup/build/tsc/src/data/segment.js 450 B 0 B -450 B
rollup/build/tsc/src/style-spec/validate/validate_expression.js 451 B 0 B -451 B
rollup/build/tsc/src/style/style_layer_index.js 452 B 0 B -452 B
rollup/build/tsc/src/style-spec/expression/definitions/in.js 456 B 0 B -456 B
rollup/build/tsc/src/render/program/circle_program.js 457 B 0 B -457 B
rollup/build/tsc/src/style-spec/expression/definitions/coalesce.js 463 B 0 B -463 B
rollup/build/tsc/src/style-spec/expression/definitions/case.js 475 B 0 B -475 B
rollup/build/tsc/src/style/style_layer/custom_style_layer.js 476 B 0 B -476 B
rollup/build/tsc/src/ui/handler/tap_drag_zoom.js 477 B 0 B -477 B
rollup/build/tsc/src/render/program/background_program.js 478 B 0 B -478 B
rollup/build/tsc/src/style-spec/expression/definitions/let.js 482 B 0 B -482 B
rollup/build/tsc/src/style-spec/expression/values.js 497 B 0 B -497 B
rollup/build/tsc/src/style-spec/expression/definitions/slice.js 497 B 0 B -497 B
rollup/build/tsc/src/style-spec/expression/types.js 511 B 0 B -511 B
rollup/build/tsc/src/render/draw_background.js 528 B 0 B -528 B
rollup/build/tsc/src/gl/vertex_buffer.js 533 B 0 B -533 B
rollup/build/tsc/src/ui/handler/tap_recognizer.js 534 B 0 B -534 B
rollup/build/tsc/src/symbol/symbol_size.js 539 B 0 B -539 B
rollup/build/tsc/src/style/style_layer/circle_style_layer.js 544 B 0 B -544 B
rollup/build/tsc/src/style-spec/validate/validate_property.js 549 B 0 B -549 B
rollup/build/tsc/src/ui/handler/mouse.js 553 B 0 B -553 B
rollup/build/tsc/src/style-spec/expression/definitions/index_of.js 556 B 0 B -556 B
rollup/build/tsc/src/render/vertex_array_object.js 557 B 0 B -557 B
rollup/build/tsc/src/data/feature_position_map.js 558 B 0 B -558 B
rollup/build/tsc/src/source/tile_cache.js 558 B 0 B -558 B
rollup/build/tsc/src/style/light.js 563 B 0 B -563 B
rollup/build/tsc/src/render/program/heatmap_program.js 563 B 0 B -563 B
rollup/build/tsc/src/render/program/raster_program.js 563 B 0 B -563 B
rollup/build/tsc/src/ui/handler/keyboard.js 576 B 0 B -576 B
rollup/build/tsc/src/render/program/fill_program.js 577 B 0 B -577 B
rollup/build/tsc/src/symbol/get_anchors.js 579 B 0 B -579 B
rollup/build/tsc/src/geo/lng_lat.js 580 B 0 B -580 B
rollup/build/tsc/src/render/draw_circle.js 580 B 0 B -580 B
rollup/build/tsc/src/util/verticalize_punctuation.js 589 B 0 B -589 B
rollup/build/tsc/src/ui/control/logo_control.js 593 B 0 B -593 B
rollup/build/tsc/src/source/source_state.js 598 B 0 B -598 B
rollup/build/tsc/src/style-spec/expression/definitions/number_format.js 600 B 0 B -600 B
rollup/build/tsc/src/style/pauseable_placement.js 602 B 0 B -602 B
rollup/build/tsc/src/geo/lng_lat_bounds.js 610 B 0 B -610 B
rollup/build/tsc/src/render/program/pattern.js 615 B 0 B -615 B
rollup/build/tsc/src/style-spec/validate/validate_source.js 616 B 0 B -616 B
rollup/build/tsc/src/style-spec/validate/validate_filter.js 618 B 0 B -618 B
rollup/build/tsc/src/style/style_layer/symbol_style_layer_properties.g.js 651 B 0 B -651 B
rollup/build/tsc/src/render/uniform_binding.js 654 B 0 B -654 B
rollup/build/tsc/src/util/dom.js 655 B 0 B -655 B
rollup/build/tsc/src/source/vector_tile_worker_source.js 671 B 0 B -671 B
rollup/build/tsc/src/render/texture.js 679 B 0 B -679 B
rollup/build/tsc/src/util/image.js 680 B 0 B -680 B
rollup/build/tsc/src/util/find_pole_of_inaccessibility.js 690 B 0 B -690 B
rollup/build/tsc/src/style-spec/expression/definitions/assertion.js 692 B 0 B -692 B
rollup/build/tsc/src/style-spec/expression/definitions/step.js 695 B 0 B -695 B
rollup/build/tsc/src/util/struct_array.js 700 B 0 B -700 B
rollup/build/tsc/src/ui/handler/box_zoom.js 718 B 0 B -718 B
rollup/build/tsc/src/render/program/collision_program.js 726 B 0 B -726 B
rollup/build/tsc/src/style-spec/expression/definitions/format.js 729 B 0 B -729 B
rollup/build/tsc/src/index.js 738 B 0 B -738 B
rollup/build/tsc/src/ui/control/scale_control.js 740 B 0 B -740 B
rollup/build/tsc/src/data/dem_data.js 759 B 0 B -759 B
rollup/build/tsc/src/style-spec/expression/compound_expression.js 765 B 0 B -765 B
rollup/build/tsc/src/data/bucket/symbol_attributes.js 769 B 0 B -769 B
rollup/build/tsc/src/style-spec/util/color_spaces.js 797 B 0 B -797 B
rollup/build/tsc/src/render/program/fill_extrusion_program.js 802 B 0 B -802 B
rollup/build/tsc/src/render/program/program_uniforms.js 805 B 0 B -805 B
rollup/build/tsc/src/render/draw_fill_extrusion.js 808 B 0 B -808 B
rollup/build/tsc/src/style-spec/expression/definitions/coercion.js 813 B 0 B -813 B
rollup/build/tsc/src/ui/handler_inertia.js 822 B 0 B -822 B
rollup/build/tsc/src/util/actor.js 823 B 0 B -823 B
rollup/build/tsc/src/render/image_atlas.js 833 B 0 B -833 B
rollup/build/tsc/src/ui/control/fullscreen_control.js 851 B 0 B -851 B
rollup/build/tsc/src/util/tile_request_cache.js 861 B 0 B -861 B
rollup/build/tsc/src/style-spec/validate/validate_layer.js 864 B 0 B -864 B
rollup/build/tsc/src/source/video_source.js 873 B 0 B -873 B
rollup/build/tsc/src/util/is_char_in_unicode_block.js 876 B 0 B -876 B
rollup/build/tsc/src/style-spec/feature_filter/index.js 881 B 0 B -881 B
rollup/build/tsc/src/render/program/hillshade_program.js 883 B 0 B -883 B
rollup/build/tsc/src/style-spec/expression/definitions/comparison.js 884 B 0 B -884 B
rollup/build/tsc/src/ui/hash.js 905 B 0 B -905 B
rollup/build/tsc/src/source/rtl_text_plugin.js 907 B 0 B -907 B
rollup/build/tsc/src/style-spec/expression/definitions/match.js 910 B 0 B -910 B
rollup/build/tsc/src/render/program.js 916 B 0 B -916 B
rollup/build/tsc/src/style/style_layer/fill_extrusion_style_layer.js 926 B 0 B -926 B
rollup/build/tsc/src/source/raster_tile_source.js 934 B 0 B -934 B
rollup/build/tsc/src/util/intersection_tests.js 935 B 0 B -935 B
rollup/build/tsc/src/util/primitives.js 936 B 0 B -936 B
rollup/build/tsc/src/render/glyph_manager.js 947 B 0 B -947 B
rollup/build/tsc/src/util/web_worker_transfer.js 950 B 0 B -950 B
rollup/build/tsc/src/ui/handler/touch_zoom_rotate.js 964 B 0 B -964 B
rollup/build/tsc/src/source/raster_dem_tile_source.js 972 B 0 B -972 B
rollup/build/tsc/src/render/draw_fill.js 975 B 0 B -975 B
rollup/build/tsc/src/data/bucket/circle_bucket.js 976 B 0 B -976 B
rollup/build/tsc/src/render/line_atlas.js 985 B 0 B -985 B
rollup/build/tsc/src/style/style_layer/line_style_layer.js 995 B 0 B -995 B
rollup/build/tsc/src/render/draw_raster.js 1 kB 0 B -1 kB
rollup/build/tsc/src/ui/control/attribution_control.js 1.01 kB 0 B -1.01 kB
rollup/build/tsc/src/render/draw_line.js 1.01 kB 0 B -1.01 kB
rollup/build/tsc/src/style/style_layer/symbol_style_layer.js 1.01 kB 0 B -1.01 kB
rollup/build/tsc/src/util/transferable_grid_index.js 1.02 kB 0 B -1.02 kB
rollup/build/tsc/src/source/canvas_source.js 1.02 kB 0 B -1.02 kB
rollup/build/tsc/src/style-spec/expression/parsing_context.js 1.03 kB 0 B -1.03 kB
rollup/build/tsc/src/render/draw_heatmap.js 1.04 kB 0 B -1.04 kB
rollup/build/tsc/src/render/draw_collision_debug.js 1.07 kB 0 B -1.07 kB
rollup/build/tsc/src/gl/value.js 1.09 kB 0 B -1.09 kB
rollup/build/tsc/src/render/draw_hillshade.js 1.09 kB 0 B -1.09 kB
rollup/build/tsc/src/data/bucket/fill_bucket.js 1.1 kB 0 B -1.1 kB
rollup/build/tsc/src/source/tile_id.js 1.1 kB 0 B -1.1 kB
rollup/build/tsc/src/source/image_source.js 1.11 kB 0 B -1.11 kB
rollup/build/tsc/src/source/worker.js 1.11 kB 0 B -1.11 kB
rollup/build/tsc/src/source/vector_tile_source.js 1.11 kB 0 B -1.11 kB
rollup/build/tsc/src/render/draw_debug.js 1.11 kB 0 B -1.11 kB
rollup/build/tsc/src/symbol/cross_tile_symbol_index.js 1.13 kB 0 B -1.13 kB
rollup/build/tsc/src/style-spec/validate/validate_function.js 1.14 kB 0 B -1.14 kB
rollup/build/tsc/src/render/program/line_program.js 1.15 kB 0 B -1.15 kB
rollup/build/tsc/src/style-spec/function/index.js 1.18 kB 0 B -1.18 kB
rollup/build/tsc/src/style/style_layer.js 1.21 kB 0 B -1.21 kB
rollup/build/tsc/src/source/query_features.js 1.21 kB 0 B -1.21 kB
rollup/build/tsc/src/source/worker_tile.js 1.22 kB 0 B -1.22 kB
rollup/build/tsc/src/ui/handler/scroll_zoom.js 1.25 kB 0 B -1.25 kB
rollup/build/tsc/src/gl/context.js 1.28 kB 0 B -1.28 kB
rollup/build/tsc/src/source/geojson_source.js 1.28 kB 0 B -1.28 kB
rollup/build/tsc/src/render/program/symbol_program.js 1.3 kB 0 B -1.3 kB
rollup/build/tsc/src/style-spec/expression/definitions/interpolate.js 1.32 kB 0 B -1.32 kB
rollup/build/tsc/src/data/bucket/fill_extrusion_bucket.js 1.32 kB 0 B -1.32 kB
rollup/build/tsc/src/symbol/grid_index.js 1.35 kB 0 B -1.35 kB
rollup/build/tsc/src/style-spec/expression/definitions/within.js 1.4 kB 0 B -1.4 kB
rollup/build/tsc/src/render/image_manager.js 1.4 kB 0 B -1.4 kB
rollup/build/tsc/src/source/geojson_worker_source.js 1.52 kB 0 B -1.52 kB
rollup/build/tsc/src/style-spec/diff.js 1.53 kB 0 B -1.53 kB
rollup/build/tsc/src/ui/control/navigation_control.js 1.6 kB 0 B -1.6 kB
rollup/build/tsc/src/style-spec/expression/index.js 1.6 kB 0 B -1.6 kB
rollup/build/tsc/src/symbol/collision_index.js 1.61 kB 0 B -1.61 kB
rollup/build/tsc/src/style-spec/expression/definitions/index.js 1.61 kB 0 B -1.61 kB
rollup/build/tsc/src/util/script_detection.js 1.65 kB 0 B -1.65 kB
rollup/build/tsc/src/data/feature_index.js 1.7 kB 0 B -1.7 kB
rollup/build/tsc/src/symbol/projection.js 1.78 kB 0 B -1.78 kB
rollup/build/tsc/src/source/tile.js 1.87 kB 0 B -1.87 kB
rollup/build/tsc/src/symbol/quads.js 1.89 kB 0 B -1.89 kB
rollup/build/tsc/src/ui/popup.js 1.91 kB 0 B -1.91 kB
rollup/build/tsc/src/style/properties.js 1.92 kB 0 B -1.92 kB
rollup/build/tsc/src/util/util.js 1.94 kB 0 B -1.94 kB
rollup/build/tsc/src/ui/control/geolocate_control.js 2.26 kB 0 B -2.26 kB
rollup/build/tsc/src/util/ajax.js 2.28 kB 0 B -2.28 kB
rollup/build/tsc/src/ui/handler_manager.js 2.35 kB 0 B -2.35 kB
rollup/build/tsc/src/data/bucket/line_bucket.js 2.42 kB 0 B -2.42 kB
rollup/build/tsc/src/render/draw_symbol.js 2.49 kB 0 B -2.49 kB
rollup/build/tsc/src/data/program_configuration.js 2.62 kB 0 B -2.62 kB
rollup/build/tsc/src/ui/marker.js 2.71 kB 0 B -2.71 kB
rollup/build/tsc/src/data/array_types.g.js 2.76 kB 0 B -2.76 kB
rollup/build/tsc/src/ui/camera.js 2.96 kB 0 B -2.96 kB
rollup/build/tsc/src/render/painter.js 3.3 kB 0 B -3.3 kB
rollup/build/tsc/src/symbol/symbol_layout.js 3.34 kB 0 B -3.34 kB
rollup/build/tsc/src/symbol/shaping.js 3.62 kB 0 B -3.62 kB
rollup/build/tsc/src/source/source_cache.js 3.74 kB 0 B -3.74 kB
rollup/build/tsc/src/geo/transform.js 3.75 kB 0 B -3.75 kB
rollup/build/tsc/src/util/evented.js 3.9 kB 0 B -3.9 kB
rollup/build/tsc/src/data/bucket/symbol_bucket.js 4.3 kB 0 B -4.3 kB
rollup/build/tsc/src/symbol/placement.js 4.72 kB 0 B -4.72 kB
rollup/build/tsc/src/ui/map.js 6.17 kB 0 B -6.17 kB
rollup/build/tsc/src/style/style.js 6.52 kB 0 B -6.52 kB
rollup/build/tsc/src/data/pos_attributes.js 7.07 kB 0 B -7.07 kB

@HarelM
Copy link
Collaborator

HarelM commented Feb 6, 2022

Can we migrate totally to typescript plugin? Where are we still using the typescript output files?
If there's still a place I would recommend to migrate it first and then fully migrate to typescript plugin instead of adding it to the command line scripts...

@HarelM
Copy link
Collaborator

HarelM commented Feb 6, 2022

Also, since we have a build folder I would consider moving the rollup config there and move the bench folder under test folder?
Feels more organized this way (to me)...

@birkskyum
Copy link
Member Author

birkskyum commented Feb 6, 2022

Can we migrate totally to typescript plugin? Where are we still using the typescript output files?

I'm unfortunately not sure I completely understand this question. If you ask if we still have references pointing to /rollup/build/tsc/src rather than /src, then the answer is that all import statements already has been updated to use the ts files in /src directly. That situation is not changed by this PR.

@HarelM
Copy link
Collaborator

HarelM commented Feb 6, 2022

Great! This means we can stop using the extra step of build-tsc and simply remove the watch flag from rollup config to always use the typescript plugin.
We should also add the typescript plugin to all rollup configs instead of adding them to the commandline argumets in the scripts in package.json.
I hope this is clearer now.
I would like to simplify the build as part of this PR.
I'm not saying this PR is not OK, just explaining how to improve it.

@birkskyum
Copy link
Member Author

Just to understand the background - How come rollup only used the typescript() plugin when in watch mode?

@HarelM
Copy link
Collaborator

HarelM commented Feb 6, 2022

It was introduced after the migration was finished as I thought that there are issues with it when I did the migration.
It might be that it just didn't work as expected back then and I preferred to have something working.

@birkskyum
Copy link
Member Author

birkskyum commented Feb 6, 2022

I have tried to remove the watch() from the rollup config, but there are a few things that came up.

We have this line in package.json, that I'm not sure when is executed.. and with the rollup/build/tsc folder gone, it doesn't make a lot of sense as is.

  "browser": {
    "./rollup/build/tsc/src/util/web_worker.js": "./build/web_worker_replacement.js"
  },

@HarelM
Copy link
Collaborator

HarelM commented Feb 6, 2022

Also it was easier to make the tests pass this way instead if forcing a full migration like we are in now. So it allowed us to do it one step at a time.

@HarelM
Copy link
Collaborator

HarelM commented Feb 6, 2022

Ahh, yes, the last part of the build simplification that I didn't manage to solve.
This part is replacing a file when using rollup.
This is basically mimicking the web worker bahavior.
I thought it should only be in the tests, but I couldn't make the tests pass without it.

@HarelM
Copy link
Collaborator

HarelM commented Feb 6, 2022

The way it should be as I see it, is that the new Worker code should be in src and there should be a hook to tell jest to use a worker mock like the implementation.
But it's not easy...
I'm surprised the browser tests and render tests are actually passing...?

@HarelM
Copy link
Collaborator

HarelM commented Feb 6, 2022

It took me a while to understand that there's a rollup plugin that uses a property defined in the package.json file to replace a file while building.
It's just the worst UX ever.
There were 3 files that were replaced and I managed to reduce it to only one file, which is better, but not perfect.

@birkskyum
Copy link
Member Author

How do we test that this web worker replacement work?

@HarelM
Copy link
Collaborator

HarelM commented Feb 6, 2022

Not sure, maybe open the dev build artifacts in the browser and see that the code is not there (using npm run start-debug)?

package.json Show resolved Hide resolved
rollup.config.ts Outdated Show resolved Hide resolved
@birkskyum
Copy link
Member Author

birkskyum commented Feb 6, 2022

Web worker issue:

Previously, when running start-debug, watch mode would be active, and the typescript() plugin would be used in rollup loading files directly from /src. The browser replacement specified in package.json would not work, as there would be no rollup/build/tsc/src folder.

"browser": {
    "./rollup/build/tsc/src/util/web_worker.js": "./build/web_worker_replacement.js"
  },

In case build-tsc had been ran previously to this, it would have generated the rollup/build/tsc/src, and this would suddenly work.

Now, we don't have the rollup/build/tsc/src anymore, so this path would never work. I have tried to update the path towards src instead, from:

"./rollup/build/tsc/src/util/web_worker.js", to:

  • "./src/util/web_worker.js"
  • "./src/util/web_worker.ts"
  • "./src/util/web_worker"

... and more combinations, but nothing happens. I rolled back to master, and see the same, so it could very well be the case that this "browser" trick never worked with the typescript plugin in rollup.

I have inspected the /web_worker_replacement.js, and realized that it doesn't fulfill the requirements of src/source/worker.ts that tries to import WorkerGlobalScopeInterface.

Maybe something like this could be a way to avoid this replacement altogether: https://github.com/developit/web-worker, but there are some typing warnings currently. 1, 2.

@birkskyum birkskyum changed the title Move rollup config to ts Conclude typescript migration Feb 7, 2022
@birkskyum
Copy link
Member Author

birkskyum commented Feb 7, 2022

Another option is to use jsdom-worker, and mock jest, leaving the source code clean.

@HarelM
Copy link
Collaborator

HarelM commented Feb 7, 2022

It would be great if we could avoid the replacement totally. I hope the referenced package can do that. If so it would be my preferred solution to remove the replacement and delete this extra code.

@birkskyum
Copy link
Member Author

birkskyum commented Feb 7, 2022

I tried jsdom-worker, jsdom-worker-fix, and web-worker, and I didn't manage to fix this. Do we strictly need this web worker? It seems like I can run the map just fine without this script being replaced. Or is it because the code added for node, maybe can run in the browser too?

@birkskyum birkskyum mentioned this pull request Feb 7, 2022
@birkskyum birkskyum force-pushed the move-rollup-config-to-typescript branch from e46ff8d to 805f65f Compare February 7, 2022 13:21
@birkskyum birkskyum changed the title Conclude typescript migration [WIP] Conclude typescript migration Feb 7, 2022
@birkskyum birkskyum changed the title [WIP] Conclude typescript migration [WIP] Simplify build pipeline Feb 7, 2022
@birkskyum birkskyum force-pushed the move-rollup-config-to-typescript branch 2 times, most recently from 9800935 to 07392ab Compare February 9, 2022 12:43
@birkskyum birkskyum force-pushed the move-rollup-config-to-typescript branch from 36d4582 to 4c408e7 Compare February 9, 2022 12:49
@birkskyum birkskyum force-pushed the move-rollup-config-to-typescript branch from 4c408e7 to 2958296 Compare February 9, 2022 13:42
@birkskyum birkskyum changed the title [WIP] Simplify build pipeline Simplify build pipeline Feb 9, 2022
@birkskyum
Copy link
Member Author

@HarelM , now that #962 #968 are in, this is updated, and works - even benchmarks.

@HarelM
Copy link
Collaborator

HarelM commented Feb 9, 2022

COOL!!! Nice work mate! Including the web workers, right?

@HarelM HarelM merged commit c54f76a into maplibre:main Feb 9, 2022
@birkskyum
Copy link
Member Author

birkskyum commented Feb 9, 2022

COOL!!! Nice work mate! Including the web workers, right?

Including the web workers!

@HarelM
Copy link
Collaborator

HarelM commented Feb 9, 2022

So we are fully typescript end to end, right?
We still need to see if we can remove the web worker replace code now that we are using jest and not tap and probably delete the stub_loader file?

@birkskyum
Copy link
Member Author

birkskyum commented Feb 9, 2022

The render tests are not on jest yet - still on harness as the last piece, but they will get there. I tried to move stub_loader (used in render test only) to ts, but it turned out to be breaking change, so that file is still .js, but we are pretty much typescript throughout.

wipfli added a commit that referenced this pull request Feb 24, 2022
* Migrate expression tests to jest (#965)

* Revert "Move benchmarks to ES modules (#964)" (#969)

This reverts commit aa8ed9d.

* Migrate query tests from puppeteer to playwright (#966)

* Fix web worker in watch mode (#968)

* Fix web worker in watch mode

* Add webworker support throughout

* Don't change rollup for style-spec and benchmarks

* Revert "Don't change rollup for style-spec and benchmarks"

This reverts commit 62a7e14.

* Remove duplicate node-resolve configuration

* Simplify build pipeline (#961)

* Remove build-tsc compile step

* re-enable failing style-spec test

* cleanup

* cleanup

* fix style-spec-test

* Create codeql-analysis.yml

* Bump simple-get from 3.1.0 to 3.1.1 (#971)

Bumps [simple-get](https://github.com/feross/simple-get) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/feross/simple-get/releases)
- [Commits](feross/simple-get@v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: simple-get
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump nanoid from 3.1.30 to 3.2.0 (#973)

Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.1.30...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump cached-path-relative from 1.0.2 to 1.1.0 (#972)

Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/ashaffer/cached-path-relative/releases)
- [Commits](https://github.com/ashaffer/cached-path-relative/commits)

---
updated-dependencies:
- dependency-name: cached-path-relative
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Move browser test to playwright (#974)

* Bump ts-node for 3x faster postinstall (#975)

* Remove web worker replacement (#976)

* Attribution default open for osm (#795)

* Update CHANGELOG.md

* Revert "Update CHANGELOG.md"

This reverts commit 0b81a41.

* attribution fixes (from astridx)

a1272d9

b9b0370

* Update .gitignore

* fix missing new line lint complained about

* Revert "attribution fixes (from astridx)"

This reverts commit 2031d8e.

* Default compact to be open by default

Default compact button to be open by default, to make OpenStreetMap attibutions to show by default like mentioned in ( #205 )

This uses an idea from ( #205 (comment) ) to show compact open by default, but close it when dragged.

* remove test string I forgot to remove

* fix compact button showing when there are no attributions

* update whitespace trim to es6 syntax

* fixes after testing various states of compact

* revert back so it is open when starting in fullscreen

* revert .gitignore

* fix lint errors

* fix tests

Most of these fails because I made the compact button not show if attributes are empty.

The other test fail because when switching between >640 and <=640 the open attribute is now added

* lint

* Update package-lock.json

* Update package-lock.json

* Update CHANGELOG.md

* delete problematic files

* put back deleted files

* test/integration/assets/sprites/icon-text-fit-1x@2x.json

* restore files

Co-authored-by: acalcutt <acalcutt@worcester.edu>

* Fix benchmarks (#984)

* Move bench under `test` folder (#979)

* Add typeof guard to performance variable (#986)

* Fixes #768

* Fix comment and add changelog

* Release 2.1.2 Version (#987)

* Release 2.1.2 Version

* Fix changelog according to comments

* Fix release.yml due to bench folder move (#988)

* lint function-url-quotes/ (#983)

* Bump to v2.1.3 - Fix postinstall error `ts-node` not found in non-dev installs (#991)

* Bump to v2.1.4 - Fix missing `postinstall.js` file in npm publish (#992)

* Bump to v2.1.5-pre.1 - Publish empty `postinstall.js` file (#994)

* Bump to v2.1.5 (#996)

* Bump to v2.1.6-pre.1 - Fix `dist/package.json` (#998)

* Bump to v2.1.6 (#999)

* prefix (#1004)

* correct done (#1006)

* Add adjustment to rendering glyphs (#1005)

* add topAdjustment for glyph

* add topAdjustment for glyph

* update changelog

* add issue number

* add alphabet and cjk text test #1002

* fix lint error

* Simplify render tests (#1003)

Fixes #1008 

* Initial commit - half of the tests are failing

* Missing file

* Remove template rendering

* Fix usage of localizeUrls

* Move harness and server to render folder, simplify render code to be sepcific.

* Move function outside and add some typings

* lint

* Add typings, move compare results outside

* Remove server usage and replace it by file system reading.

* Move xhr mocking to main flow

* Move functions outside the render function

* Move creation of tests to render.ts, added more typings

* Move suite implementation into main flow file, add some typings.

* lint

* Moved all logic to a single file that runs the render tests

* remove color from harness

* Remove jest run command

* Small fixes

* lint

* Cleanup

* More cleanup

* Remove harness and move it to a single file. Remove the jest version.

* Remove ignore related code and tests

* Remove ignore, add types

* Add more types

* lint

* Migrate actual image generation to not use Buffer

* lint

* Fix CI run

* Fix CI properly this time...

* Revert png change

* Revert only buffer usage

* Revert png and buffer

* Simplify png in mock file

* Move to use uint8array and change throshold

* Added diff info

* remove specific threshold from test as it fails

* Fix typo

* Fix according to code review

* Husky pre-commit do not fix lint (#1019)

* Fix css

* Use main package-lock.json

Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Harel M <harel.mazor@gmail.com>
Co-authored-by: Andrew Calcutt <acalcutt@techidiots.net>
Co-authored-by: acalcutt <acalcutt@worcester.edu>
Co-authored-by: vanilla-lake <95251033+vanilla-lake@users.noreply.github.com>
Co-authored-by: Astrid <astridx@users.noreply.github.com>
Co-authored-by: Kanahiro Iguchi <mediterranean1769@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants