Open JinIgarashi opened 2 months ago
Describe the bug
Currently, maplibre version is hard coded as the below file.
https://github.com/unvt/charites/blob/ad3e36bd76f081cb3560072cd93b1eef998b069d/provider/default/index.html#L5-L10
It would be nice if it can get JS/CSS file path from NPM directly instead of hard coded version.
To Reproduce n/a
Expected behavior If js/css is imported from NPM, version can be managed much easier than hardcoding.
Screenshots If applicable, add screenshots to help explain your problem.
Charites Version:
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
It hard to use NPM modules with serve command.
Describe the bug
Currently, maplibre version is hard coded as the below file.
https://github.com/unvt/charites/blob/ad3e36bd76f081cb3560072cd93b1eef998b069d/provider/default/index.html#L5-L10
It would be nice if it can get JS/CSS file path from NPM directly instead of hard coded version.
To Reproduce n/a
Expected behavior If js/css is imported from NPM, version can be managed much easier than hardcoding.
Screenshots If applicable, add screenshots to help explain your problem.
Charites Version:
Desktop (please complete the following information):
Additional context Add any other context about the problem here.