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

Fix the source maps #1976

Merged
merged 3 commits into from
Jan 7, 2023
Merged

Fix the source maps #1976

merged 3 commits into from
Jan 7, 2023

Conversation

rotu
Copy link
Contributor

@rotu rotu commented Dec 21, 2022

Fix the darn source maps. Mostly this is bumping terser, but I also added some tests that the sourcemaps are generated correctly and removed some legacy cruft.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 22, 2022

Bundle size report:

Size Change: 0 B
Total Size Before: 208 kB
Total Size After: 208 kB

Output file Before After Change
maplibre-gl.js 198 kB 198 kB 0 B
maplibre-gl.css 9.1 kB 9.1 kB 0 B
ℹ️ View Details
Source file Before After Change
src/style/style.ts 0 B 7.38 kB +7.38 kB
src/ui/map.ts 0 B 7.23 kB +7.23 kB
src/symbol/placement.ts 0 B 5.08 kB +5.08 kB
src/geo/transform.ts 0 B 4.54 kB +4.54 kB
src/data/bucket/symbol_bucket.ts 0 B 4.27 kB +4.27 kB
src/source/source_cache.ts 0 B 3.99 kB +3.99 kB
src/util/evented.ts 0 B 3.97 kB +3.97 kB
node_modules/geojson-vt/geojson-vt-dev.js 0 B 3.93 kB +3.93 kB
src/symbol/symbol_layout.ts 0 B 3.83 kB +3.83 kB
src/render/painter.ts 0 B 3.76 kB +3.76 kB
src/symbol/shaping.ts 0 B 3.63 kB +3.63 kB
src/ui/camera.ts 0 B 3.41 kB +3.41 kB
src/ui/marker.ts 0 B 2.87 kB +2.87 kB
node_modules/pbf/index.js 0 B 2.83 kB +2.83 kB
node_modules/gl-matrix/esm/mat4.js 0 B 2.77 kB +2.77 kB
src/data/array_types.g.ts 0 B 2.75 kB +2.75 kB
node_modules/earcut/src/earcut.js 0 B 2.73 kB +2.73 kB
src/ui/handler_manager.ts 0 B 2.64 kB +2.64 kB
src/data/program_configuration.ts 0 B 2.62 kB +2.62 kB
src/render/draw_symbol.ts 0 B 2.61 kB +2.61 kB
src/util/util.ts 0 B 2.45 kB +2.45 kB
src/data/bucket/line_bucket.ts 0 B 2.41 kB +2.41 kB
src/ui/control/geolocate_control.ts 0 B 2.24 kB +2.24 kB
src/util/ajax.ts 0 B 2.16 kB +2.16 kB
src/render/terrain.ts 0 B 2.09 kB +2.09 kB
node_modules/supercluster/index.js 0 B 2.07 kB +2.07 kB
node_modules/csscolorparser/csscolorparser.js 0 B 2.05 kB +2.05 kB
src/source/tile.ts 0 B 1.97 kB +1.97 kB
src/style/properties.ts 0 B 1.91 kB +1.91 kB
src/symbol/quads.ts 0 B 1.88 kB +1.88 kB
src/ui/popup.ts 0 B 1.88 kB +1.88 kB
src/symbol/projection.ts 0 B 1.82 kB +1.82 kB
src/ui/control/navigation_control.ts 0 B 1.81 kB +1.81 kB
src/data/feature_index.ts 0 B 1.75 kB +1.75 kB
src/render/draw_terrain.ts 0 B 1.74 kB +1.74 kB
src/style-spec/expression/index.ts 0 B 1.66 kB +1.66 kB
src/util/script_detection.ts 0 B 1.65 kB +1.65 kB
src/symbol/collision_index.ts 0 B 1.64 kB +1.64 kB
src/style-spec/expression/definitions/index.ts 0 B 1.63 kB +1.63 kB
src/source/geojson_worker_source.ts 0 B 1.62 kB +1.62 kB
src/style-spec/diff.ts 0 B 1.54 kB +1.54 kB
src/render/image_manager.ts 0 B 1.53 kB +1.53 kB
src/shaders/shaders.ts 0 B 1.49 kB +1.49 kB
src/data/bucket/fill_extrusion_bucket.ts 0 B 1.43 kB +1.43 kB
src/symbol/cross_tile_symbol_index.ts 0 B 1.37 kB +1.37 kB
src/render/draw_debug.ts 0 B 1.36 kB +1.36 kB
src/style-spec/expression/definitions/within.ts 0 B 1.36 kB +1.36 kB
src/symbol/grid_index.ts 0 B 1.35 kB +1.35 kB
src/source/worker_tile.ts 0 B 1.35 kB +1.35 kB
src/source/geojson_source.ts 0 B 1.32 kB +1.32 kB
src/render/program/symbol_program.ts 0 B 1.29 kB +1.29 kB
src/gl/context.ts 0 B 1.28 kB +1.28 kB
src/ui/handler/scroll_zoom.ts 0 B 1.28 kB +1.28 kB
src/style-spec/function/index.ts 0 B 1.23 kB +1.23 kB
src/style-spec/expression/definitions/interpolate.ts 0 B 1.22 kB +1.22 kB
src/source/query_features.ts 0 B 1.22 kB +1.22 kB
src/style/style_layer.ts 0 B 1.21 kB +1.21 kB
src/style/style_layer/symbol_style_layer.ts 0 B 1.16 kB +1.16 kB
src/style-spec/validate/validate_function.ts 0 B 1.16 kB +1.16 kB
src/source/tile_id.ts 0 B 1.16 kB +1.16 kB
src/render/program/line_program.ts 0 B 1.16 kB +1.16 kB
src/render/program.ts 0 B 1.16 kB +1.16 kB
src/render/draw_hillshade.ts 0 B 1.16 kB +1.16 kB
src/source/image_source.ts 0 B 1.14 kB +1.14 kB
src/render/draw_collision_debug.ts 0 B 1.13 kB +1.13 kB
node_modules/@mapbox/tiny-sdf/index.js 0 B 1.1 kB +1.1 kB
src/source/vector_tile_source.ts 0 B 1.1 kB +1.1 kB
src/data/bucket/fill_bucket.ts 0 B 1.09 kB +1.09 kB
src/gl/value.ts 0 B 1.09 kB +1.09 kB
src/ui/control/attribution_control.ts 0 B 1.08 kB +1.08 kB
src/render/draw_raster.ts 0 B 1.05 kB +1.05 kB
src/render/draw_line.ts 0 B 1.05 kB +1.05 kB
src/style-spec/expression/parsing_context.ts 0 B 1.04 kB +1.04 kB
src/render/draw_heatmap.ts 0 B 1.04 kB +1.04 kB
src/util/web_worker_transfer.ts 0 B 1.03 kB +1.03 kB
src/ui/handler/two_fingers_touch.ts 0 B 1.02 kB +1.02 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
node_modules/@mapbox/vector-tile/lib/vectortilefeature.js 0 B 1.02 kB +1.02 kB
src/shaders/symbol_sdf.vertex.glsl.g.ts 0 B 1.01 kB +1.01 kB
src/shaders/symbol_text_and_icon.vertex.glsl.g.ts 0 B 1.01 kB +1.01 kB
src/render/render_to_texture.ts 0 B 1 kB +1 kB
src/render/line_atlas.ts 0 B 983 B +983 B
src/render/draw_fill.ts 0 B 975 B +975 B
src/source/raster_dem_tile_source.ts 0 B 972 B +972 B
src/data/bucket/circle_bucket.ts 0 B 971 B +971 B
src/render/glyph_manager.ts 0 B 962 B +962 B
src/shaders/_prelude.vertex.glsl.g.ts 0 B 957 B +957 B
src/render/program/program_uniforms.ts 0 B 955 B +955 B
src/shaders/symbol_icon.vertex.glsl.g.ts 0 B 949 B +949 B
node_modules/@mapbox/mapbox-gl-supported/index.js 0 B 938 B +938 B
src/ui/hash.ts 0 B 938 B +938 B
node_modules/gl-matrix/esm/vec3.js 0 B 936 B +936 B
src/util/intersection_tests.ts 0 B 928 B +928 B
src/style/style_layer/fill_extrusion_style_layer.ts 0 B 924 B +924 B
src/source/worker.ts 0 B 915 B +915 B
src/source/raster_tile_source.ts 0 B 912 B +912 B
src/source/rtl_text_plugin.ts 0 B 903 B +903 B
src/style-spec/feature_filter/index.ts 0 B 891 B +891 B
src/render/program/hillshade_program.ts 0 B 883 B +883 B
src/util/is_char_in_unicode_block.ts 0 B 878 B +878 B
src/source/video_source.ts 0 B 875 B +875 B
src/source/terrain_source_cache.ts 0 B 875 B +875 B
src/style-spec/validate/validate_layer.ts 0 B 871 B +871 B
src/index.ts 0 B 866 B +866 B
node_modules/vt-pbf/index.js 0 B 864 B +864 B
src/util/tile_request_cache.ts 0 B 860 B +860 B
src/style-spec/expression/definitions/comparison.ts 0 B 837 B +837 B
src/data/dem_data.ts 0 B 835 B +835 B
src/render/image_atlas.ts 0 B 831 B +831 B
src/style/style_layer/line_style_layer.ts 0 B 829 B +829 B
src/shaders/fill_extrusion_pattern.vertex.glsl.g.ts 0 B 829 B +829 B
src/ui/handler_inertia.ts 0 B 819 B +819 B
src/util/actor.ts 0 B 814 B +814 B
src/shaders/line_sdf.vertex.glsl.g.ts 0 B 807 B +807 B
src/style-spec/util/color_spaces.ts 0 B 803 B +803 B
src/render/draw_fill_extrusion.ts 0 B 794 B +794 B
src/shaders/line_pattern.vertex.glsl.g.ts 0 B 787 B +787 B
src/ui/control/fullscreen_control.ts 0 B 782 B +782 B
src/style-spec/expression/definitions/coercion.ts 0 B 780 B +780 B
src/data/bucket/symbol_attributes.ts 0 B 762 B +762 B
src/style-spec/expression/definitions/match.ts 0 B 749 B +749 B
src/shaders/line_gradient.vertex.glsl.g.ts 0 B 736 B +736 B
src/style-spec/expression/compound_expression.ts 0 B 733 B +733 B
src/ui/control/scale_control.ts 0 B 733 B +733 B
src/util/primitives.ts 0 B 729 B +729 B
src/render/program/collision_program.ts 0 B 725 B +725 B
src/util/image.ts 0 B 716 B +716 B
src/shaders/line.vertex.glsl.g.ts 0 B 709 B +709 B
src/shaders/line_pattern.fragment.glsl.g.ts 0 B 707 B +707 B
src/ui/handler/box_zoom.ts 0 B 706 B +706 B
src/render/program/terrain_program.ts 0 B 704 B +704 B
src/util/struct_array.ts 0 B 698 B +698 B
src/source/vector_tile_worker_source.ts 0 B 698 B +698 B
src/render/uniform_binding.ts 0 B 691 B +691 B
src/util/find_pole_of_inaccessibility.ts 0 B 690 B +690 B
src/render/program/fill_extrusion_program.ts 0 B 683 B +683 B
src/util/performance.ts 0 B 680 B +680 B
src/render/texture.ts 0 B 680 B +680 B
src/util/dom.ts 0 B 654 B +654 B
src/style-spec/expression/definitions/format.ts 0 B 649 B +649 B
src/style/style_layer/symbol_style_layer_properties.g.ts 0 B 649 B +649 B
src/style-spec/validate/validate_source.ts 0 B 642 B +642 B
src/style-spec/expression/definitions/step.ts 0 B 636 B +636 B
src/symbol/symbol_size.ts 0 B 635 B +635 B
node_modules/@mapbox/point-geometry/index.js 0 B 629 B +629 B
src/style-spec/expression/definitions/assertion.ts 0 B 625 B +625 B
src/shaders/fill_extrusion.vertex.glsl.g.ts 0 B 623 B +623 B
src/style-spec/validate/validate_filter.ts 0 B 622 B +622 B
src/geo/lng_lat_bounds.ts 0 B 621 B +621 B
src/render/program/pattern.ts 0 B 616 B +616 B
src/render/draw_circle.ts 0 B 615 B +615 B
src/source/geojson_source_diff.ts 0 B 614 B +614 B
src/data/feature_position_map.ts 0 B 609 B +609 B
src/gl/vertex_buffer.ts 0 B 609 B +609 B
src/source/source_state.ts 0 B 602 B +602 B
src/style/pauseable_placement.ts 0 B 598 B +598 B
src/shaders/symbol_text_and_icon.fragment.glsl.g.ts 0 B 598 B +598 B
src/util/verticalize_punctuation.ts 0 B 591 B +591 B
src/geo/lng_lat.ts 0 B 585 B +585 B
src/gl/render_pool.ts 0 B 584 B +584 B
src/render/vertex_array_object.ts 0 B 580 B +580 B
src/render/draw_background.ts 0 B 575 B +575 B
src/symbol/get_anchors.ts 0 B 572 B +572 B
src/ui/handler/keyboard.ts 0 B 571 B +571 B
src/render/program/fill_program.ts 0 B 567 B +567 B
node_modules/ieee754/index.js 0 B 566 B +566 B
src/render/program/raster_program.ts 0 B 564 B +564 B
src/style/light.ts 0 B 560 B +560 B
node_modules/kdbush/src/index.js 0 B 559 B +559 B
src/shaders/circle.vertex.glsl.g.ts 0 B 559 B +559 B
src/style-spec/validate/validate_property.ts 0 B 556 B +556 B
src/shaders/hillshade.fragment.glsl.g.ts 0 B 555 B +555 B
src/source/tile_cache.ts 0 B 554 B +554 B
src/render/program/heatmap_program.ts 0 B 554 B +554 B
src/shaders/symbol_sdf.fragment.glsl.g.ts 0 B 552 B +552 B
src/shaders/collision_circle.vertex.glsl.g.ts 0 B 546 B +546 B
src/ui/handler/touch_pan.ts 0 B 539 B +539 B
src/style/style_layer/circle_style_layer.ts 0 B 534 B +534 B
src/ui/handler/tap_recognizer.ts 0 B 532 B +532 B
src/style-spec/expression/definitions/number_format.ts 0 B 530 B +530 B
src/style/load_sprite.ts 0 B 529 B +529 B
src/style/style_layer/custom_style_layer.ts 0 B 526 B +526 B
src/ui/handler/mouse.ts 0 B 524 B +524 B
node_modules/gl-matrix/esm/vec4.js 0 B 520 B +520 B
src/style-spec/expression/types.ts 0 B 519 B +519 B
src/style-spec/expression/values.ts 0 B 507 B +507 B
src/shaders/hillshade_prepare.fragment.glsl.g.ts 0 B 501 B +501 B
src/ui/handler/drag_handler.ts 0 B 499 B +499 B
src/style-spec/expression/definitions/index_of.ts 0 B 490 B +490 B
src/style/query_utils.ts 0 B 487 B +487 B
src/ui/control/logo_control.ts 0 B 485 B +485 B
src/ui/handler/tap_drag_zoom.ts 0 B 480 B +480 B
src/render/program/background_program.ts 0 B 472 B +472 B
src/style-spec/expression/definitions/case.ts 0 B 460 B +460 B
src/shaders/line_sdf.fragment.glsl.g.ts 0 B 460 B +460 B
src/style/style_layer_index.ts 0 B 457 B +457 B
src/render/program/circle_program.ts 0 B 453 B +453 B
src/style-spec/validate/validate_expression.ts 0 B 452 B +452 B
src/source/geojson_wrapper.ts 0 B 452 B +452 B
src/util/browser.ts 0 B 450 B +450 B
src/data/segment.ts 0 B 449 B +449 B
node_modules/vt-pbf/lib/geojson_wrapper.js 0 B 449 B +449 B
src/style-spec/expression/definitions/coalesce.ts 0 B 444 B +444 B
src/ui/handler/map_event.ts 0 B 442 B +442 B
src/style-spec/expression/definitions/slice.ts 0 B 441 B +441 B
src/shaders/raster.fragment.glsl.g.ts 0 B 439 B +439 B
src/style-spec/validate/validate.ts 0 B 436 B +436 B
src/style-spec/expression/definitions/let.ts 0 B 434 B +434 B
src/util/color_ramp.ts 0 B 432 B +432 B
node_modules/@mapbox/vector-tile/lib/vectortilelayer.js 0 B 432 B +432 B
src/geo/edge_insets.ts 0 B 430 B +430 B
node_modules/@mapbox/unitbezier/index.js 0 B 427 B +427 B
src/style-spec/expression/definitions/in.ts 0 B 426 B +426 B
src/ui/control/terrain_control.ts 0 B 419 B +419 B
src/shaders/fill_outline_pattern.fragment.glsl.g.ts 0 B 418 B +418 B
src/util/worker_pool.ts 0 B 416 B +416 B
src/shaders/fill_outline_pattern.vertex.glsl.g.ts 0 B 415 B +415 B
src/shaders/fill_extrusion_pattern.fragment.glsl.g.ts 0 B 415 B +415 B
src/ui/handler/one_finger_touch_drag.ts 0 B 412 B +412 B
src/shaders/circle.fragment.glsl.g.ts 0 B 408 B +408 B
node_modules/@mapbox/whoots-js/index.js 0 B 407 B +407 B
src/style-spec/group_by_layout.ts 0 B 407 B +407 B
src/style-spec/validate/validate_object.ts 0 B 403 B +403 B
src/symbol/merge_lines.ts 0 B 403 B +403 B
node_modules/murmurhash-js/murmurhash3_gc.js 0 B 399 B +399 B
src/shaders/fill_pattern.fragment.glsl.g.ts 0 B 394 B +394 B
src/shaders/fill_pattern.vertex.glsl.g.ts 0 B 389 B +389 B
src/source/raster_dem_tile_worker_source.ts 0 B 388 B +388 B
src/style-spec/expression/definitions/collator.ts 0 B 387 B +387 B
src/symbol/collision_feature.ts 0 B 387 B +387 B
src/style/evaluation_parameters.ts 0 B 386 B +386 B
node_modules/kdbush/src/sort.js 0 B 377 B +377 B
src/util/webp_supported.ts 0 B 376 B +376 B
src/style-spec/expression/definitions/at.ts 0 B 376 B +376 B
node_modules/quickselect/quickselect.js 0 B 371 B +371 B
src/shaders/heatmap.vertex.glsl.g.ts 0 B 366 B +366 B
src/style-spec/validate/validate_array.ts 0 B 365 B +365 B
src/ui/handler/tap_zoom.ts 0 B 365 B +365 B
node_modules/tinyqueue/index.js 0 B 360 B +360 B
src/style/format_section_override.ts 0 B 360 B +360 B
src/util/dispatcher.ts 0 B 359 B +359 B
src/util/request_manager.ts 0 B 358 B +358 B
src/ui/events.ts 0 B 357 B +357 B
src/style/style_layer/heatmap_style_layer.ts 0 B 355 B +355 B
src/source/source.ts 0 B 354 B +354 B
node_modules/potpack/index.js 0 B 353 B +353 B
src/shaders/line_gradient.fragment.glsl.g.ts 0 B 351 B +351 B
src/gl/index_buffer.ts 0 B 347 B +347 B
src/geo/mercator_coordinate.ts 0 B 342 B +342 B
node_modules/@mapbox/geojson-rewind/index.js 0 B 342 B +342 B
src/render/draw_custom.ts 0 B 342 B +342 B
src/style/parse_glyph_pbf.ts 0 B 337 B +337 B
src/ui/handler/drag_move_state_manager.ts 0 B 337 B +337 B
node_modules/kdbush/src/within.js 0 B 334 B +334 B
src/style-spec/expression/definitions/length.ts 0 B 332 B +332 B
src/style-spec/validate_style.min.ts 0 B 331 B +331 B
src/render/glyph_atlas.ts 0 B 330 B +330 B
src/util/global_worker_pool.ts 0 B 327 B +327 B
src/shaders/line.fragment.glsl.g.ts 0 B 324 B +324 B
src/data/bucket/pattern_bucket_features.ts 0 B 323 B +323 B
src/style-spec/expression/definitions/var.ts 0 B 320 B +320 B
src/style-spec/util/color.ts 0 B 318 B +318 B
src/source/tile_bounds.ts 0 B 317 B +317 B
src/util/task_queue.ts 0 B 315 B +315 B
src/shaders/collision_box.vertex.glsl.g.ts 0 B 313 B +313 B
src/style-spec/expression/definitions/literal.ts 0 B 312 B +312 B
src/style-spec/validate/validate_sprite.ts 0 B 312 B +312 B
src/symbol/path_interpolator.ts 0 B 311 B +311 B
src/ui/default_locale.ts 0 B 311 B +311 B
src/style-spec/expression/evaluation_context.ts 0 B 310 B +310 B
src/symbol/clip_line.ts 0 B 301 B +301 B
src/style-spec/validate/validate_light.ts 0 B 300 B +300 B
src/shaders/background_pattern.fragment.glsl.g.ts 0 B 296 B +296 B
src/gl/framebuffer.ts 0 B 291 B +291 B
src/symbol/check_max_angle.ts 0 B 287 B +287 B
src/ui/handler/shim/two_fingers_touch.ts 0 B 281 B +281 B
node_modules/murmurhash-js/murmurhash2_gc.js 0 B 280 B +280 B
src/style/style_layer/line_style_layer_properties.g.ts 0 B 276 B +276 B
src/style/style_layer/fill_style_layer.ts 0 B 276 B +276 B
node_modules/gl-matrix/esm/vec2.js 0 B 275 B +275 B
src/style-spec/expression/definitions/image.ts 0 B 274 B +274 B
src/source/load_tilejson.ts 0 B 271 B +271 B
src/shaders/heatmap.fragment.glsl.g.ts 0 B 267 B +267 B
src/style-spec/expression/types/formatted.ts 0 B 265 B +265 B
node_modules/kdbush/src/range.js 0 B 262 B +262 B
src/shaders/collision_circle.fragment.glsl.g.ts 0 B 260 B +260 B
src/style-spec/util/padding.ts 0 B 257 B +257 B
src/data/load_geometry.ts 0 B 255 B +255 B
src/style-spec/expression/is_constant.ts 0 B 254 B +254 B
src/shaders/fill_outline.fragment.glsl.g.ts 0 B 254 B +254 B
src/style-spec/validate/validate_padding.ts 0 B 251 B +251 B
src/util/vectortile_to_geojson.ts 0 B 251 B +251 B
src/style-spec/validate/validate_terrain.ts 0 B 250 B +250 B
src/util/classify_rings.ts 0 B 248 B +248 B
src/ui/handler/click_zoom.ts 0 B 241 B +241 B
src/style/create_style_layer.ts 0 B 237 B +237 B
src/style-spec/util/interpolate.ts 0 B 236 B +236 B
src/util/smart_wrap.ts 0 B 234 B +234 B
src/style/style_layer/circle_style_layer_properties.g.ts 0 B 228 B +228 B
src/util/dictionary_coder.ts 0 B 228 B +228 B
src/shaders/symbol_icon.fragment.glsl.g.ts 0 B 226 B +226 B
src/shaders/background_pattern.vertex.glsl.g.ts 0 B 224 B +224 B
node_modules/gl-matrix/esm/mat3.js 0 B 222 B +222 B
src/shaders/terrain.vertex.glsl.g.ts 0 B 222 B +222 B
src/style/load_glyph_range.ts 0 B 221 B +221 B
src/style-spec/validate/validate_number.ts 0 B 220 B +220 B
src/shaders/fill_outline.vertex.glsl.g.ts 0 B 216 B +216 B
src/ui/handler/shim/drag_pan.ts 0 B 213 B +213 B
src/util/throttled_invoker.ts 0 B 212 B +212 B
src/ui/anchor.ts 0 B 210 B +210 B
src/style-spec/deref.ts 0 B 209 B +209 B
src/style-spec/validate/validate_enum.ts 0 B 208 B +208 B
src/shaders/heatmap_texture.fragment.glsl.g.ts 0 B 207 B +207 B
src/style-spec/expression/types/collator.ts 0 B 203 B +203 B
node_modules/gl-matrix/esm/mat2.js 0 B 203 B +203 B
src/symbol/transform_text.ts 0 B 202 B +202 B
src/shaders/raster.vertex.glsl.g.ts 0 B 200 B +200 B
src/shaders/terrain_depth.fragment.glsl.g.ts 0 B 196 B +196 B
src/data/bucket.ts 0 B 195 B +195 B
src/render/program/debug_program.ts 0 B 195 B +195 B
src/style-spec/expression/scope.ts 0 B 194 B +194 B
src/style/style_layer/fill_style_layer_properties.g.ts 0 B 194 B +194 B
src/style-spec/util/deep_equal.ts 0 B 194 B +194 B
src/shaders/hillshade_prepare.vertex.glsl.g.ts 0 B 190 B +190 B
src/style-spec/expression/stops.ts 0 B 189 B +189 B
node_modules/@mapbox/vector-tile/lib/vectortile.js 0 B 186 B +186 B
src/style/style_layer/fill_extrusion_style_layer_properties.g.ts 0 B 186 B +186 B
node_modules/gl-matrix/esm/common.js 0 B 182 B +182 B
src/style-spec/util/unbundle_jsonlint.ts 0 B 180 B +180 B
src/style/zoom_history.ts 0 B 179 B +179 B
src/render/update_pattern_positions_in_program.ts 0 B 179 B +179 B
src/ui/handler/shim/drag_rotate.ts 0 B 179 B +179 B
src/ui/handler/handler_util.ts 0 B 178 B +178 B
src/shaders/fill.fragment.glsl.g.ts 0 B 177 B +177 B
src/gl/color_mode.ts 0 B 172 B +172 B
src/shaders/fill.vertex.glsl.g.ts 0 B 171 B +171 B
src/style-spec/validate/validate_glyphs_url.ts 0 B 169 B +169 B
src/symbol/anchor.ts 0 B 169 B +169 B
src/shaders/terrain_coords.fragment.glsl.g.ts 0 B 169 B +169 B
src/style/style_layer/raster_style_layer_properties.g.ts 0 B 167 B +167 B
src/style/style_layer/hillshade_style_layer_properties.g.ts 0 B 164 B +164 B
src/shaders/debug.vertex.glsl.g.ts 0 B 163 B +163 B
src/util/debug.ts 0 B 160 B +160 B
src/style/validate_style.ts 0 B 159 B +159 B
src/style-spec/util/properties.ts 0 B 156 B +156 B
src/style-spec/empty.ts 0 B 155 B +155 B
src/gl/cull_face_mode.ts 0 B 153 B +153 B
src/util/offscreen_canvas_supported.ts 0 B 152 B +152 B
src/gl/stencil_mode.ts 0 B 151 B +151 B
src/style/style_layer/hillshade_style_layer.ts 0 B 150 B +150 B
src/ui/handler/shim/dblclick_zoom.ts 0 B 150 B +150 B
src/shaders/collision_box.fragment.glsl.g.ts 0 B 148 B +148 B
src/shaders/debug.fragment.glsl.g.ts 0 B 147 B +147 B
node_modules/gl-matrix/esm/quat.js 0 B 146 B +146 B
src/util/throttle.ts 0 B 144 B +144 B
src/shaders/heatmap_texture.vertex.glsl.g.ts 0 B 143 B +143 B
src/style-spec/validate/validate_color.ts 0 B 141 B +141 B
src/shaders/background.fragment.glsl.g.ts 0 B 138 B +138 B
src/shaders/hillshade.vertex.glsl.g.ts 0 B 138 B +138 B
src/style/style_layer/heatmap_style_layer_properties.g.ts 0 B 137 B +137 B
src/gl/depth_mode.ts 0 B 136 B +136 B
src/style-spec/expression/types/resolved_image.ts 0 B 132 B +132 B
src/style-spec/util/get_type.ts 0 B 132 B +132 B
src/style/style_image.ts 0 B 125 B +125 B
src/style-spec/error/validation_error.ts 0 B 123 B +123 B
src/style-spec/validate/validate_string.ts 0 B 123 B +123 B
src/style-spec/validate/validate_boolean.ts 0 B 123 B +123 B
src/data/bucket/fill_extrusion_attributes.ts 0 B 123 B +123 B
src/shaders/_prelude.fragment.glsl.g.ts 0 B 119 B +119 B
src/data/bucket/line_attributes.ts 0 B 118 B +118 B
src/shaders/fill_extrusion.fragment.glsl.g.ts 0 B 117 B +117 B
src/style/style_layer/background_style_layer_properties.g.ts 0 B 115 B +115 B
src/style-spec/validate/validate_constants.ts 0 B 113 B +113 B
src/shaders/terrain.fragment.glsl.g.ts 0 B 112 B +112 B
src/data/bucket/pattern_attributes.ts 0 B 111 B +111 B
src/style-spec/expression/runtime_error.ts 0 B 110 B +110 B
src/shaders/clipping_mask.vertex.glsl.g.ts 0 B 106 B +106 B
src/style-spec/util/ref_properties.ts 0 B 104 B +104 B
src/data/bucket/fill_attributes.ts 0 B 103 B +103 B
src/data/bucket/line_attributes_ext.ts 0 B 103 B +103 B
src/source/pixels_to_tile_units.ts 0 B 103 B +103 B
src/shaders/background.vertex.glsl.g.ts 0 B 103 B +103 B
src/render/program/clipping_mask_program.ts 0 B 103 B +103 B
src/data/raster_bounds_attributes.ts 0 B 97 B +97 B
src/data/evaluation_feature.ts 0 B 96 B +96 B
src/util/resolve_tokens.ts 0 B 96 B +96 B
src/util/style.ts 0 B 94 B +94 B
src/data/bucket/circle_attributes.ts 0 B 92 B +92 B
src/style-spec/expression/parsing_error.ts 0 B 91 B +91 B
node_modules/@mapbox/vector-tile/index.js 0 B 90 B +90 B
src/data/pos3d_attributes.ts 0 B 88 B +88 B
src/util/config.ts 0 B 86 B +86 B
src/data/bucket/heatmap_bucket.ts 0 B 85 B +85 B
src/style-spec/util/extend.ts 0 B 83 B +83 B
src/shaders/encode_attribute.ts 0 B 82 B +82 B
src/style-spec/util/result.ts 0 B 81 B +81 B
src/data/pos_attributes.ts 0 B 80 B +80 B
src/style/style_layer/raster_style_layer.ts 0 B 75 B +75 B
node_modules/murmurhash-js/index.js 0 B 65 B +65 B
src/style/style_layer/background_style_layer.ts 0 B 63 B +63 B
src/style-spec/validate/validate_formatted.ts 0 B 62 B +62 B
src/style-spec/validate/validate_image.ts 0 B 62 B +62 B
src/shaders/clipping_mask.fragment.glsl.g.ts 0 B 59 B +59 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/util/web_worker.ts 0 B 40 B +40 B
src/data/extent.ts 0 B 32 B +32 B
src/symbol/one_em.ts 0 B 29 B +29 B

@rotu rotu force-pushed the terser branch 3 times, most recently from 44de30d to dac8e10 Compare December 23, 2022 18:35
package.json Outdated Show resolved Hide resolved
@birkskyum
Copy link
Member

Does it work?

@rotu
Copy link
Contributor Author

rotu commented Jan 7, 2023

Does it work?

I think so!

@rotu rotu marked this pull request as ready for review January 7, 2023 01:48
@rotu rotu changed the title bump terser plugin and remove --bundleConfigAsCjs Fix the source maps Jan 7, 2023
@birkskyum birkskyum merged commit 2cfacce into maplibre:main Jan 7, 2023
@HarelM HarelM mentioned this pull request Jan 30, 2023
2 tasks
@rotu rotu deleted the terser branch January 31, 2023 05:35
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