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

Change packaging to create only dist/mapml-viewer.js and dist/web-map.js (everything bundled) #984

Merged
merged 1 commit into from
Sep 18, 2024

Commits on Sep 18, 2024

  1. - Change rollup to produce two targets: mapml-viewer.js and web-map.js

    - Refactor index.js, create index-web-map.js as separate start point for
    web-map.js build / rollup target
    - All .js files are bundled into the main targets. To Do: tree-shaking?
    - Move import statements into .js files that depend on the import.
    - Remove most symbols from the M global variable, leaving TCRS mostly
    - Create and import GlobalM.js. Rename options.js->DefaultMapOptions.js
    - pmtilesRules.js now does not require M.protomapsL usage, just use
    protomapsL import symbols directly (will affect experiment).
    - Update tests to keep them running / not flaky if possible
    prushforth committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    784ffa9 View commit details
    Browse the repository at this point in the history