mirror of
https://github.com/SwingTheVine/Wplace-BlueMarble.git
synced 2026-04-21 15:21:58 +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
|
// Adds the banner
|
||||||
fs.writeFileSync(
|
fs.writeFileSync(
|
||||||
'dist/index.js',
|
'dist/index.js',
|
||||||
"(function (){ return ({ patches: [], load: () => {" + resultTerser.code + "},});})();",
|
"(function (){ return ({ patches: [], load: () => {" + resultEsbuildJS.text + "},});})();",
|
||||||
'utf8'
|
'utf8'
|
||||||
);
|
);
|
||||||
fs.writeFileSync('src/main.ts', originalCode)
|
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
|
// Add event listener hooks
|
||||||
window.charity.game.map.on("click", (e)=>{
|
window.charity.game.map.on("click", (e)=>{
|
||||||
console.log(e)
|
console.log(e)
|
||||||
lngLat = e.lngLat;
|
lngLat = e.lngLat as {lat: number, lng: number};
|
||||||
console.log(e.lngLat)
|
console.log(e.lngLat)
|
||||||
zoomLevel = window.charity.game.map.getZoom();
|
zoomLevel = window.charity.game.map.getZoom();
|
||||||
console.log("test")
|
console.log("test")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue