mirror of
https://github.com/SwingTheVine/Wplace-BlueMarble.git
synced 2026-03-11 17:15:38 +00:00
Build
This commit is contained in:
parent
0fbf5d5a48
commit
d0ff06dd1d
4 changed files with 4556 additions and 4 deletions
|
|
@ -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
4554
dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/manifest.json
vendored
2
dist/manifest.json
vendored
|
|
@ -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"}}
|
||||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue