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

Vite + TypeScript #836

Merged
merged 13 commits into from
Dec 18, 2023
Merged

Vite + TypeScript #836

merged 13 commits into from
Dec 18, 2023

Conversation

HarelM
Copy link
Collaborator

@HarelM HarelM commented Dec 17, 2023

Resolves #803

This is an initial commit to allow migrating to typescript bit by bit.
It introduces vite.
It removes all the webpack configuration (which I have no clue what all the profiling are needed for, and couldn't find anything in the readme).
It also changes a single file from javascript to typescript:
urlopen.js -> urlopen.ts
Which was done manually, later on I'll see if I can automate most of the migration.
For now, everything seems to work as expected.
I also upgrades storybook to use vite and renames the stories to jsx (I honestly don't know why this complexity is needed here, but I'll keep it for now).

cc: @damianstasik

Copy link

codesandbox-ci bot commented Dec 17, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3e7b70e:

Sandbox Source
maputnik Configuration

@nyurik nyurik merged commit ad69cbd into maplibre:main Dec 18, 2023
8 checks passed
@HarelM HarelM mentioned this pull request Dec 19, 2023
HarelM added a commit that referenced this pull request Dec 20, 2023
This PR fixes the missing facicon.
As part of the migration to vite, this issue was introduced.
- #836
@HarelM HarelM deleted the vite-typescript branch December 20, 2023 20:58
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.

Replace webpack with Vite
2 participants