fix: syntax too cool

This commit is contained in:
cha0s 2020-06-30 09:14:05 -05:00
parent ee3996048f
commit 7788d7fc92
5 changed files with 11 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@avocado/entity",
"version": "1.0.14",
"version": "1.0.15",
"main": "index.js",
"author": "cha0s",
"license": "MIT",

View File

@ -46,4 +46,6 @@ registerHooks({
},
}, '@avocado/entity/trait/registrar');
module.hot?.accept(['./traits.scwp'], () => hasMapped = false);
if (module.hot) {
module.hot.accept(['./traits.scwp'], () => hasMapped = false);
}

View File

@ -1,6 +1,6 @@
{
"name": "@avocado/net",
"version": "1.0.7",
"version": "1.0.8",
"main": "index.js",
"author": "cha0s",
"license": "MIT",

View File

@ -20,4 +20,6 @@ export function idFrom(Packet) {
return idFromRaw(packetTo.get(Packet));
}
module.hot?.accept(['./packets.scwp'], () => hasMapped = false);
if (module.hot) {
module.hot.accept(['./packets.scwp'], () => hasMapped = false);
}

View File

@ -20,4 +20,6 @@ export function idFrom(Synchronized) {
return idFromRaw(synchronizedTo.get(Synchronized));
}
module.hot?.accept(['./s13n.scwp'], () => hasMapped = false);
if (module.hot) {
module.hot.accept(['./s13n.scwp'], () => hasMapped = false);
}