Remove npm building from martin #1863
Replies: 2 comments
-
I am also having some build issues with it, so we need to figure out a way to include the needed code while also not break the build I guess... @CommanderStorm any thoughts? |
Beta Was this translation helpful? Give feedback.
-
I thoroughly dislike the current setup as well. Really cumbersome and bad to maintain At some point we will need node though to build the code into a frontend and the rust tooling in this department does not afaik provide a viable path currently. We could include V8 as a dependency and do this manually, but I think this would be more brittle and the engineering likely would not pay off. What we could do is storing "binary blobs". Another approach would be the "stop shooting yourself in the foot" approach of just rendering templates https://github.com/bbox-services/bbox/tree/main/bbox-frontend |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've not do a deep research about this. Just a wild thought, Is that possible to remove the npm part from martin building? Like downloading(in CI or build.rs) the release from a standalone repo like
maplibre/martin-ui
? @nyurikBeta Was this translation helpful? Give feedback.
All reactions