This commit is contained in:
AloeSapling 2025-08-21 00:03:21 +02:00
parent 0fbf5d5a48
commit d0ff06dd1d
4 changed files with 4556 additions and 4 deletions

View file

@ -161,7 +161,7 @@ if (!isGitHub) {
// Adds the banner
fs.writeFileSync(
'dist/index.js',
"(function (){ return ({ patches: [], load: () => {" + resultTerser.code + "},});})();",
"(function (){ return ({ patches: [], load: () => {" + resultEsbuildJS.text + "},});})();",
'utf8'
);
fs.writeFileSync('src/main.ts', originalCode)

4554
dist/index.js vendored

File diff suppressed because one or more lines are too long

2
dist/manifest.json vendored
View file

@ -1 +1 @@
{"id":"blue-marble","name":"Blue Marble","version":"0.0.32","authors":["SwingTheVine"],"versions":{"framework":">=0.1.0-beta"}}
{"id":"blue-marble","name":"Blue Marble","version":"0.0.33","authors":["SwingTheVine"],"versions":{"framework":">=0.1.0-beta"}}

View file

@ -79,7 +79,7 @@ export function initCreateTemplate(){
// Add event listener hooks
window.charity.game.map.on("click", (e)=>{
console.log(e)
lngLat = e.lngLat;
lngLat = e.lngLat as {lat: number, lng: number};
console.log(e.lngLat)
zoomLevel = window.charity.game.map.getZoom();
console.log("test")