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

Add core build to CDN output #171

Merged
merged 2 commits into from
Aug 20, 2024
Merged

Add core build to CDN output #171

merged 2 commits into from
Aug 20, 2024

Conversation

kochis
Copy link
Collaborator

@kochis kochis commented Jun 13, 2024

No description provided.

src/core.ts Outdated
key.includes('_live_')
);

class Radar {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in index.ts, should we do

class Radar extends RadarCore {
  // "ui" namespace
  public static get ui() {
    return {
      maplibregl: MapUI.getMapLibre(),
      map: MapUI.createMap,
      marker: MapUI.createMarker,
      autocomplete: AutocompleteUI.createAutocomplete,
    };
  }
}

to minimize code duplication

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

remove css from core build
@kochis kochis changed the title WIP: add core build to CDN output Add core build to CDN output Aug 20, 2024
@kochis kochis marked this pull request as ready for review August 20, 2024 15:31
@kochis kochis merged commit 2b0e591 into master Aug 20, 2024
4 checks passed
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